ServerFarmOperationsExtensions.GetAsync Method

Asynchronously retrieves a server farm.

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

'Usage
Dim operations As IServerFarmOperations
Dim webSpaceName As String
Dim serverFarmName As String
Dim returnValue As Task(Of ServerFarmGetResponse)

returnValue = ServerFarmOperationsExtensions.GetAsync(operations, webSpaceName, serverFarmName)

[ExtensionAttribute] 
public static Task<ServerFarmGetResponse> GetAsync (
	IServerFarmOperations operations,
	string webSpaceName,
	string serverFarmName
)
/** @attribute ExtensionAttribute() */ 
public static Task<ServerFarmGetResponse> GetAsync (
	IServerFarmOperations operations, 
	String webSpaceName, 
	String serverFarmName
)
ExtensionAttribute 
public static function GetAsync (
	operations : IServerFarmOperations, 
	webSpaceName : String, 
	serverFarmName : String
) : Task<ServerFarmGetResponse>

Parameters

operations

The IServerFarmOperations object that specifies the server farm operations.

webSpaceName

The name of the webspace.

serverFarmName

The name of the server farm.

Return Value

An ServerFarmGetResponse object that provides the status of the operation.

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

Show: