IServerFarmOperations.ListAsync Method

Asynchronously lists a server farm.

Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Dim instance As IServerFarmOperations
Dim webSpaceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ServerFarmListResponse)

returnValue = instance.ListAsync(webSpaceName, cancellationToken)

Task<ServerFarmListResponse> ListAsync (
	string webSpaceName,
	CancellationToken cancellationToken
Task<ServerFarmListResponse> ListAsync (
	String webSpaceName, 
	CancellationToken cancellationToken
function ListAsync (
	webSpaceName : String, 
	cancellationToken : CancellationToken
) : Task<ServerFarmListResponse>



The name of the webspace.


The cancellation token.

Return Value

An ServerFarmListResponse object that lists the server farm.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms