Método IConnectionOperations.CreateAsync
Create a connection. (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 parameters As ConnectionCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ConnectionCreateResponse)
returnValue = instance.CreateAsync(automationAccount, parameters, cancellationToken)
Sintaxe
'Declaração
Function CreateAsync ( _
automationAccount As String, _
parameters As ConnectionCreateParameters, _
cancellationToken As CancellationToken _
) As Task(Of ConnectionCreateResponse)
Task<ConnectionCreateResponse> CreateAsync (
string automationAccount,
ConnectionCreateParameters parameters,
CancellationToken cancellationToken
)
Task<ConnectionCreateResponse^>^ CreateAsync (
String^ automationAccount,
ConnectionCreateParameters^ parameters,
CancellationToken cancellationToken
)
Task<ConnectionCreateResponse> CreateAsync (
String automationAccount,
ConnectionCreateParameters parameters,
CancellationToken cancellationToken
)
function CreateAsync (
automationAccount : String,
parameters : ConnectionCreateParameters,
cancellationToken : CancellationToken
) : Task<ConnectionCreateResponse>
Parâmetros
- automationAccount
The automation account name.
- parameters
The parameters supplied to the create connection operation.
- cancellationToken
Cancellation token.
Valor de retorno
The response model for the create 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