Compartilhar via


Método ConnectionTypeOperationsExtensions.GetAsync

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

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

Uso

'Uso
Dim operations As IConnectionTypeOperations
Dim automationAccount As String
Dim connectionTypeName As String
Dim returnValue As Task(Of ConnectionTypeGetResponse)

returnValue = ConnectionTypeOperationsExtensions.GetAsync(operations, automationAccount, connectionTypeName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
    operations As IConnectionTypeOperations, _
    automationAccount As String, _
    connectionTypeName As String _
) As Task(Of ConnectionTypeGetResponse)
[ExtensionAttribute] 
public static Task<ConnectionTypeGetResponse> GetAsync (
    IConnectionTypeOperations operations,
    string automationAccount,
    string connectionTypeName
)
[ExtensionAttribute] 
public:
static Task<ConnectionTypeGetResponse^>^ GetAsync (
    IConnectionTypeOperations^ operations, 
    String^ automationAccount, 
    String^ connectionTypeName
)
/** @attribute ExtensionAttribute() */ 
public static Task<ConnectionTypeGetResponse> GetAsync (
    IConnectionTypeOperations operations, 
    String automationAccount, 
    String connectionTypeName
)
ExtensionAttribute 
public static function GetAsync (
    operations : IConnectionTypeOperations, 
    automationAccount : String, 
    connectionTypeName : String
) : Task<ConnectionTypeGetResponse>

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IConnectionTypeOperations.
  • automationAccount
    Required. The automation account name.
  • connectionTypeName
    Required. The name of connectiontype.

Valor de retorno

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

Classe ConnectionTypeOperationsExtensions
Membros ConnectionTypeOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation