Share via


IScheduleOperations.GetAsync Method

Retrieve the schedule identified by schedule name. (see https://aka.ms/azureautomationsdk/scheduleoperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim instance As IScheduleOperations
Dim automationAccount As String
Dim scheduleName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ScheduleGetResponse)

returnValue = instance.GetAsync(automationAccount, scheduleName, cancellationToken)

Syntax

'Declaration
Function GetAsync ( _
    automationAccount As String, _
    scheduleName As String, _
    cancellationToken As CancellationToken _
) As Task(Of ScheduleGetResponse)
Task<ScheduleGetResponse> GetAsync (
    string automationAccount,
    string scheduleName,
    CancellationToken cancellationToken
)
Task<ScheduleGetResponse^>^ GetAsync (
    String^ automationAccount, 
    String^ scheduleName, 
    CancellationToken cancellationToken
)
Task<ScheduleGetResponse> GetAsync (
    String automationAccount, 
    String scheduleName, 
    CancellationToken cancellationToken
)
function GetAsync (
    automationAccount : String, 
    scheduleName : String, 
    cancellationToken : CancellationToken
) : Task<ScheduleGetResponse>

Parameters

  • automationAccount
    The automation account name.
  • scheduleName
    The schedule name.
  • cancellationToken
    Cancellation token.

Return Value

The response model for the get schedule operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IScheduleOperations Interface
IScheduleOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace