Compartilhar via


Método IModuleOperations.DeleteAsync

Delete the module by name. (see https://aka.ms/azureautomationsdk/moduleoperations for more information)

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

Uso

'Uso
Dim instance As IModuleOperations
Dim automationAccount As String
Dim moduleName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.DeleteAsync(automationAccount, moduleName, cancellationToken)

Sintaxe

'Declaração
Function DeleteAsync ( _
    automationAccount As String, _
    moduleName As String, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> DeleteAsync (
    string automationAccount,
    string moduleName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync (
    String^ automationAccount, 
    String^ moduleName, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> DeleteAsync (
    String automationAccount, 
    String moduleName, 
    CancellationToken cancellationToken
)
function DeleteAsync (
    automationAccount : String, 
    moduleName : String, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parâmetros

  • automationAccount
    The automation account name.
  • moduleName
    The module name.
  • cancellationToken
    Cancellation token.

Valor de retorno

A standard service response including an HTTP status code and request ID.

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 IModuleOperations
Membros IModuleOperations
Namespace Microsoft.WindowsAzure.Management.Automation