ISubscriptionOperations.UnregisterResourceAsync Method (String, CancellationToken)
Asynchronously removes the registration a resource from a subscription.
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Function UnregisterResourceAsync ( resourceName As String, cancellationToken As CancellationToken ) As Task(Of AzureOperationResponse)
Parameters
- resourceName
-
Type:
System.String
The name of the resource to remove from registration.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of AzureOperationResponse)An OperationResponse object that includes an HTTP status code and request ID.
Show: