Share via


IConnectionOperations.GetAsync Method (String, String, CancellationToken)

 

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

Syntax

Task<ConnectionGetResponse> GetAsync(
    string automationAccount,
    string connectionName,
    CancellationToken cancellationToken
)
Task<ConnectionGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ connectionName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        connectionName:string *
        cancellationToken:CancellationToken -> Task<ConnectionGetResponse>
Function GetAsync (
    automationAccount As String,
    connectionName As String,
    cancellationToken As CancellationToken
) As Task(Of ConnectionGetResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

Type: System.Threading.Tasks.Task<ConnectionGetResponse>

The response model for the get connection operation.

See Also

IConnectionOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top