SubscriptionOperationsExtensions.UnregisterResource Method (ISubscriptionOperations, String)

 

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

Parameters

  • resourceName
    Type: System.String

    The name of the resource to remove from registration.

Return Value

Type: Microsoft.Azure.AzureOperationResponse

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

See Also

SubscriptionOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace

Return to top