Condividi tramite


Metodo WebHostingPlanOperationsExtensions.ListAsync

You can list the web spaces under the current subscription by issuing a GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166961.aspx for more information)

Spazio dei nomi: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Utilizzo

'Utilizzo
Dim operations As IWebHostingPlanOperations
Dim webSpaceName As String
Dim returnValue As Task(Of WebHostingPlanListResponse)

returnValue = WebHostingPlanOperationsExtensions.ListAsync(operations, webSpaceName)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IWebHostingPlanOperations, _
    webSpaceName As String _
) As Task(Of WebHostingPlanListResponse)
[ExtensionAttribute] 
public static Task<WebHostingPlanListResponse> ListAsync (
    IWebHostingPlanOperations operations,
    string webSpaceName
)
[ExtensionAttribute] 
public:
static Task<WebHostingPlanListResponse^>^ ListAsync (
    IWebHostingPlanOperations^ operations, 
    String^ webSpaceName
)
/** @attribute ExtensionAttribute() */ 
public static Task<WebHostingPlanListResponse> ListAsync (
    IWebHostingPlanOperations operations, 
    String webSpaceName
)
ExtensionAttribute 
public static function ListAsync (
    operations : IWebHostingPlanOperations, 
    webSpaceName : String
) : Task<WebHostingPlanListResponse>

Parametri

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

Valore restituito

The List Web Hosting Plans operation response.

Sicurezza dei thread

Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows 7 e Windows Server 2008

Piattaforme di destinazione

Vedere anche

Riferimento

Classe WebHostingPlanOperationsExtensions
Membri WebHostingPlanOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure