IWebSpaceOperations.ListWebSitesAsync Method (String, WebSiteListParameters, CancellationToken)

 

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)

Task<WebSpacesListWebSitesResponse> ListWebSitesAsync(
	string webSpaceName,
	WebSiteListParameters parameters,
	CancellationToken cancellationToken
)

Parameters

webSpaceName
Type: System.String

The name of the web space.

parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteListParameters

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

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task<WebSpacesListWebSitesResponse>

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.

Return to top
Show: