Compartilhar via


Método ICredentialOperations.DeleteAsync

Delete the credential. (see https://aka.ms/azureautomationsdk/credentialoperations for more information)

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

Uso

'Uso
Dim instance As ICredentialOperations
Dim automationAccount As String
Dim credentialName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

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

Sintaxe

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

Parâmetros

  • automationAccount
    The automation account name.
  • credentialName
    The name of credential.
  • 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 ICredentialOperations
Membros ICredentialOperations
Namespace Microsoft.WindowsAzure.Management.Automation