WebSpaceOperationsExtensions.ListAsync Method

Asynchronously retrieves a list of web spaces in the subscription.

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

Dim operations As IWebSpaceOperations
Dim returnValue As Task(Of WebSpacesListResponse)

returnValue = WebSpaceOperationsExtensions.ListAsync(operations)

public static Task<WebSpacesListResponse> ListAsync (
	IWebSpaceOperations operations
/** @attribute ExtensionAttribute() */ 
public static Task<WebSpacesListResponse> ListAsync (
	IWebSpaceOperations operations
public static function ListAsync (
	operations : IWebSpaceOperations
) : Task<WebSpacesListResponse>



The IWebSpaceOperations object that specifies the operations web spaces.

Return Value

An WebSpacesListResponse object that contains the list of web spaces.

For more information about retrieving a list of web spaces, see List Webspaces. (see for more information)

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

Development Platforms

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

Target Platforms