Compartilhar via


Método AffinityGroupOperationsExtensions.Delete

Deletes an affinity group from the specified subscription.

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

Uso

'Uso
Dim operations As IAffinityGroupOperations
Dim affinityGroupName As String
Dim returnValue As AzureOperationResponse

returnValue = AffinityGroupOperationsExtensions.Delete(operations, affinityGroupName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function Delete ( _
    operations As IAffinityGroupOperations, _
    affinityGroupName As String _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse Delete (
    IAffinityGroupOperations operations,
    string affinityGroupName
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ Delete (
    IAffinityGroupOperations^ operations, 
    String^ affinityGroupName
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse Delete (
    IAffinityGroupOperations operations, 
    String affinityGroupName
)
ExtensionAttribute 
public static function Delete (
    operations : IAffinityGroupOperations, 
    affinityGroupName : String
) : AzureOperationResponse

Parâmetros

  • affinityGroupName
    The name of the affinity group to delete.

Valor de retorno

An OperationResponse object that includes an HTTP status code and request ID.

Comentários

Before you delete an affinity group, you must modify or delete any resources that currently use it. An affinity group cannot be deleted as long as it is associated with any resources.

For more information about deleting affinity groups, see the following resources:

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