Udostępnij za pośrednictwem


AffinityGroupOperationsExtensions.DeleteAsync Method

Definition

The Delete Affinity Group operation deletes an affinity group in the specified subscription. (see http://msdn.microsoft.com/en-us/library/windowsazure/gg715314.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.WindowsAzure.Management.IAffinityGroupOperations operations, string affinityGroupName);
static member DeleteAsync : Microsoft.WindowsAzure.Management.IAffinityGroupOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IAffinityGroupOperations, affinityGroupName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IAffinityGroupOperations

Reference to the Microsoft.WindowsAzure.Management.IAffinityGroupOperations.

affinityGroupName
String

Required. The name of the affinity group.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to