Share via


IJobScheduleOperations.GetAsync Method

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

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

Usage

'Usage
Dim instance As IJobScheduleOperations
Dim automationAccount As String
Dim jobScheduleName As Guid
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of JobScheduleGetResponse)

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

Syntax

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

Parameters

  • automationAccount
    The automation account name.
  • jobScheduleName
    The job schedule name.
  • cancellationToken
    Cancellation token.

Return Value

The response model for the get job 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

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