Partager via


ConnectionOperationsExtensions.GetAsync Méthode

Définition

Récupérez la connexion identifiée par le nom de la connexion. (voir http://aka.ms/azureautomationsdk/connectionoperations pour plus d’informations)

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)

Paramètres

operations
IConnectionOperations

Référence à Microsoft.WindowsAzure.Management.Automation.IConnectionOperations.

automationAccount
String

Obligatoire. Nom du compte Automation.

connectionName
String

Obligatoire. Nom de la connexion.

Retours

Modèle de réponse pour l’opération obtenir la connexion.

S’applique à