SubscriptionOperationsExtensions::UnregisterResourceAsync Method (ISubscriptionOperations^, String^)
Asynchronously removes the registration of a resource from a subscription.
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
public: [ExtensionAttribute] static Task<AzureOperationResponse^>^ UnregisterResourceAsync( ISubscriptionOperations^ operations, String^ resourceName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management::ISubscriptionOperations^
The ISubscriptionOperations object that defines subscription operations.
- 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.
Show: