IServerFarmOperations.DeleteAsync Method

Asynchronously deletes a server farm.

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

Usage

'Usage
Dim instance As IServerFarmOperations
Dim webSpaceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)

returnValue = instance.DeleteAsync(webSpaceName, cancellationToken)

Syntax

'Declaration
Function DeleteAsync ( _
    webSpaceName As String, _
    cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> DeleteAsync (
    string webSpaceName,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ DeleteAsync (
    String^ webSpaceName, 
    CancellationToken cancellationToken
)
Task<OperationResponse> DeleteAsync (
    String webSpaceName, 
    CancellationToken cancellationToken
)
function DeleteAsync (
    webSpaceName : String, 
    cancellationToken : CancellationToken
) : Task<OperationResponse>

Parameters

  • webSpaceName
    The name of the webspace.
  • cancellationToken
    The cancellation token.

Return Value

A 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 and Windows Server 2008

Target Platforms

See Also

Reference

IServerFarmOperations Interface
IServerFarmOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace