ServerFarmOperationsExtensions.Delete Method

Deletes a server farm.

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

Usage

'Usage
Dim operations As IServerFarmOperations
Dim webSpaceName As String
Dim returnValue As OperationResponse

returnValue = ServerFarmOperationsExtensions.Delete(operations, webSpaceName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Delete ( _
    operations As IServerFarmOperations, _
    webSpaceName As String _
) As OperationResponse
[ExtensionAttribute] 
public static OperationResponse Delete (
    IServerFarmOperations operations,
    string webSpaceName
)
[ExtensionAttribute] 
public:
static OperationResponse^ Delete (
    IServerFarmOperations^ operations, 
    String^ webSpaceName
)
/** @attribute ExtensionAttribute() */ 
public static OperationResponse Delete (
    IServerFarmOperations operations, 
    String webSpaceName
)
ExtensionAttribute 
public static function Delete (
    operations : IServerFarmOperations, 
    webSpaceName : String
) : OperationResponse

Parameters

  • webSpaceName
    The name of the webspace.

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, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

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