Udostępnij za pośrednictwem


ConnectionOperationsExtensions.GetAsync Method

Definition

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

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

Parameters

operations
IConnectionOperations

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

automationAccount
String

Required. The automation account name.

connectionName
String

Required. The name of connection.

Returns

The response model for the get connection operation.

Applies to