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)
Syntax
Task<WebSpacesListWebSitesResponse> ListWebSitesAsync(
string webSpaceName,
WebSiteListParameters parameters,
CancellationToken cancellationToken
)
Task<WebSpacesListWebSitesResponse^>^ ListWebSitesAsync(
String^ webSpaceName,
WebSiteListParameters^ parameters,
CancellationToken cancellationToken
)
abstract ListWebSitesAsync :
webSpaceName:string *
parameters:WebSiteListParameters *
cancellationToken:CancellationToken -> Task<WebSpacesListWebSitesResponse>
Function ListWebSitesAsync (
webSpaceName As String,
parameters As WebSiteListParameters,
cancellationToken As CancellationToken
) As Task(Of WebSpacesListWebSitesResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteListParametersThe WebSiteListParameters object that contains the parameters that are used to list websites.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesListWebSitesResponse>
An WebSpacesListWebSitesResponse object that contains the list of websites.
Remarks
For more information about retrieving a list of websites, see Get a List of All Websites in a Webspace.
See Also
IWebSpaceOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top