Share via


SubscriptionOperationsExtensions.UnregisterResourceAsync Method (ISubscriptionOperations, String)

 

Asynchronously removes the registration of a resource from a subscription.

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

Syntax

public static Task<AzureOperationResponse> UnregisterResourceAsync(
    this ISubscriptionOperations operations,
    string resourceName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ UnregisterResourceAsync(
    ISubscriptionOperations^ operations,
    String^ resourceName
)
static member UnregisterResourceAsync : 
        operations:ISubscriptionOperations *
        resourceName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function UnregisterResourceAsync (
    operations As ISubscriptionOperations,
    resourceName As String
) 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

SubscriptionOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace

Return to top