Compartilhar via


Método IScheduleOperations.GetAsync

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 (em Microsoft.WindowsAzure.Management.Automation.dll)

Uso

'Uso
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)

Sintaxe

'Declaração
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>

Parâmetros

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

Valor de retorno

The response model for the get schedule operation.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

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