Udostępnij za pośrednictwem


ScheduleOperationsExtensions.GetAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ScheduleGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Automation.IScheduleOperations operations, string automationAccount, string scheduleName);
static member GetAsync : Microsoft.WindowsAzure.Management.Automation.IScheduleOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ScheduleGetResponse>
<Extension()>
Public Function GetAsync (operations As IScheduleOperations, automationAccount As String, scheduleName As String) As Task(Of ScheduleGetResponse)

Parameters

operations
IScheduleOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IScheduleOperations.

automationAccount
String

Required. The automation account name.

scheduleName
String

Required. The schedule name.

Returns

The response model for the get schedule operation.

Applies to