Share via


Método WebHostingPlanOperationsExtensions.DeleteAsync

Deletes a Web Hosting Plan (see https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/ for more information)

Espacio de nombres: Microsoft.WindowsAzure
Ensamblado: Microsoft.WindowsAzure.Management.WebSites (en Microsoft.WindowsAzure.Management.WebSites.dll)

Uso

'Uso
Dim operations As IWebHostingPlanOperations
Dim webSpaceName As String
Dim webHostingPlanName As String
Dim returnValue As Task(Of OperationResponse)

returnValue = WebHostingPlanOperationsExtensions.DeleteAsync(operations, webSpaceName, webHostingPlanName)

Sintaxis

'Declaración
<ExtensionAttribute> _
Public Shared Function DeleteAsync ( _
    operations As IWebHostingPlanOperations, _
    webSpaceName As String, _
    webHostingPlanName As String _
) As Task(Of OperationResponse)
[ExtensionAttribute] 
public static Task<OperationResponse> DeleteAsync (
    IWebHostingPlanOperations operations,
    string webSpaceName,
    string webHostingPlanName
)
[ExtensionAttribute] 
public:
static Task<OperationResponse^>^ DeleteAsync (
    IWebHostingPlanOperations^ operations, 
    String^ webSpaceName, 
    String^ webHostingPlanName
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> DeleteAsync (
    IWebHostingPlanOperations operations, 
    String webSpaceName, 
    String webHostingPlanName
)
ExtensionAttribute 
public static function DeleteAsync (
    operations : IWebHostingPlanOperations, 
    webSpaceName : String, 
    webHostingPlanName : String
) : Task<OperationResponse>

Parámetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebHostingPlanOperations.
  • webSpaceName
    Required. The name of the web space.
  • webHostingPlanName
    Required. The name of the web hosting plan.

Valor devuelto

A standard service response including an HTTP status code and request ID.

Seguridad para subprocesos

Cualquier miembro estático público (compartido en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows 7 y Windows Server 2008

Plataformas de destino

Vea también

Referencia

Clase WebHostingPlanOperationsExtensions
Miembros WebHostingPlanOperationsExtensions
Espacio de nombres Microsoft.WindowsAzure