WebSpaceOperationsExtensions.ListWebSitesAsync Method (IWebSpaceOperations, String, WebSiteListParameters)
You can retrieve a list of all web sites in a web space by issuing an HTTP GET request. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn236429.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static Task<WebSpacesListWebSitesResponse> ListWebSitesAsync( this IWebSpaceOperations operations, string webSpaceName, WebSiteListParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteListParameters
Optional. Additional parameters.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesListWebSitesResponse>The List Web Sites operation response.
Show: