ISubscriptionOperations.UnregisterResourceAsync Method (String, CancellationToken)

 

Asynchronously removes the registration a resource from a subscription.

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

Syntax

Task<AzureOperationResponse> UnregisterResourceAsync(
    string resourceName,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ UnregisterResourceAsync(
    String^ resourceName,
    CancellationToken cancellationToken
)
abstract UnregisterResourceAsync : 
        resourceName:string *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
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.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

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

See Also

ISubscriptionOperations Interface
Microsoft.WindowsAzure.Management Namespace

Return to top