AffinityGroupOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET