SubscriptionOperationsExtensions.UnregisterResourceAsync Method

Definition

Unregister a resource with your subscription.

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

Parameters

operations
ISubscriptionOperations

Reference to the Microsoft.WindowsAzure.Management.ISubscriptionOperations.

resourceName
String

Required. Name of the resource to unregister.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to