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 https://msdn.microsoft.com/en-us/library/windowsazure/dn236429.aspx for more information)
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static Task<WebSpacesListWebSitesResponse> ListWebSitesAsync(
this IWebSpaceOperations operations,
string webSpaceName,
WebSiteListParameters parameters
)
public:
[ExtensionAttribute]
static Task<WebSpacesListWebSitesResponse^>^ ListWebSitesAsync(
IWebSpaceOperations^ operations,
String^ webSpaceName,
WebSiteListParameters^ parameters
)
static member ListWebSitesAsync :
operations:IWebSpaceOperations *
webSpaceName:string *
parameters:WebSiteListParameters -> Task<WebSpacesListWebSitesResponse>
<ExtensionAttribute>
Public Shared Function ListWebSitesAsync (
operations As IWebSpaceOperations,
webSpaceName As String,
parameters As WebSiteListParameters
) As Task(Of WebSpacesListWebSitesResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteListParametersOptional. Additional parameters.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesListWebSitesResponse>
The List Web Sites operation response.
See Also
WebSpaceOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top