Share via


WebSiteManagementClientExtensions.RegisterSubscription Method

Registers a subscription to use Microsoft Azure Websites.

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

Usage

'Usage
Dim operations As IWebSiteManagementClient
Dim returnValue As OperationResponse

returnValue = WebSiteManagementClientExtensions.RegisterSubscription(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function RegisterSubscription ( _
    operations As IWebSiteManagementClient _
) As OperationResponse
[ExtensionAttribute] 
public static OperationResponse RegisterSubscription (
    IWebSiteManagementClient operations
)
[ExtensionAttribute] 
public:
static OperationResponse^ RegisterSubscription (
    IWebSiteManagementClient^ operations
)
/** @attribute ExtensionAttribute() */ 
public static OperationResponse RegisterSubscription (
    IWebSiteManagementClient operations
)
ExtensionAttribute 
public static function RegisterSubscription (
    operations : IWebSiteManagementClient
) : OperationResponse

Parameters

  • operations
    The IWebSiteManagementClient object that specifies the operations for managing Websites management clients.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

WebSiteManagementClientExtensions Class
WebSiteManagementClientExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace