Compartilhar via


Método SubscriptionOperationsExtensions.UnregisterResourceAsync

Asynchronously removes the registration of a resource from a subscription.

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

Uso

'Uso
Dim operations As ISubscriptionOperations
Dim resourceName As String
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = SubscriptionOperationsExtensions.UnregisterResourceAsync(operations, resourceName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function UnregisterResourceAsync ( _
    operations As ISubscriptionOperations, _
    resourceName As String _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute] 
public static Task<AzureOperationResponse> UnregisterResourceAsync (
    ISubscriptionOperations operations,
    string resourceName
)
[ExtensionAttribute] 
public:
static Task<AzureOperationResponse^>^ UnregisterResourceAsync (
    ISubscriptionOperations^ operations, 
    String^ resourceName
)
/** @attribute ExtensionAttribute() */ 
public static Task<AzureOperationResponse> UnregisterResourceAsync (
    ISubscriptionOperations operations, 
    String resourceName
)
ExtensionAttribute 
public static function UnregisterResourceAsync (
    operations : ISubscriptionOperations, 
    resourceName : String
) : Task<AzureOperationResponse>

Parâmetros

  • resourceName
    The name of the resource to remove from registration.

Valor de retorno

An OperationResponse object that includes 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

Classe SubscriptionOperationsExtensions
Membros SubscriptionOperationsExtensions
Namespace Microsoft.WindowsAzure.Management