Compartilhar via


Método IConnectionOperations.GetAsync

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

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

Uso

'Uso
Dim instance As IConnectionOperations
Dim automationAccount As String
Dim connectionName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ConnectionGetResponse)

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

Sintaxe

'Declaração
Function GetAsync ( _
    automationAccount As String, _
    connectionName As String, _
    cancellationToken As CancellationToken _
) As Task(Of ConnectionGetResponse)
Task<ConnectionGetResponse> GetAsync (
    string automationAccount,
    string connectionName,
    CancellationToken cancellationToken
)
Task<ConnectionGetResponse^>^ GetAsync (
    String^ automationAccount, 
    String^ connectionName, 
    CancellationToken cancellationToken
)
Task<ConnectionGetResponse> GetAsync (
    String automationAccount, 
    String connectionName, 
    CancellationToken cancellationToken
)
function GetAsync (
    automationAccount : String, 
    connectionName : String, 
    cancellationToken : CancellationToken
) : Task<ConnectionGetResponse>

Parâmetros

  • automationAccount
    The automation account name.
  • connectionName
    The name of connection.
  • cancellationToken
    Cancellation token.

Valor de retorno

The response model for the get connection 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 IConnectionOperations
Membros IConnectionOperations
Namespace Microsoft.WindowsAzure.Management.Automation