WebSpaceOperationsExtensions.ListWebSitesAsync Method

Asynchronously retrieves a list of websites in a web space.

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

'Usage
Dim operations As IWebSpaceOperations
Dim webSpaceName As String
Dim parameters As WebSiteListParameters
Dim returnValue As Task(Of WebSpacesListWebSitesResponse)

returnValue = WebSpaceOperationsExtensions.ListWebSitesAsync(operations, webSpaceName, parameters)

[ExtensionAttribute] 
public static Task<WebSpacesListWebSitesResponse> ListWebSitesAsync (
	IWebSpaceOperations operations,
	string webSpaceName,
	WebSiteListParameters parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<WebSpacesListWebSitesResponse> ListWebSitesAsync (
	IWebSpaceOperations operations, 
	String webSpaceName, 
	WebSiteListParameters parameters
)
ExtensionAttribute 
public static function ListWebSitesAsync (
	operations : IWebSpaceOperations, 
	webSpaceName : String, 
	parameters : WebSiteListParameters
) : Task<WebSpacesListWebSitesResponse>

Parameters

operations

The IWebSpaceOperations object that specifies the operations web spaces.

webSpaceName

The name of the web space.

parameters

The WebSiteListParameters object that contains the parameters that are used to list websites.

Return Value

An WebSpacesListWebSitesResponse object that contains the list of websites.

For more information about retrieving a list of websites, see Get a List of All Websites in a Webspace.


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

Show: