Share via


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

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

Return Value

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

The List Web Sites operation response.

See Also

WebSpaceOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top