IServerFarmOperations.GetAsync Method
Asynchronously retrieves a server farm.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Usage
'Usage
Dim instance As IServerFarmOperations
Dim webSpaceName As String
Dim serverFarmName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ServerFarmGetResponse)
returnValue = instance.GetAsync(webSpaceName, serverFarmName, cancellationToken)
Syntax
'Declaration
Function GetAsync ( _
webSpaceName As String, _
serverFarmName As String, _
cancellationToken As CancellationToken _
) As Task(Of ServerFarmGetResponse)
Task<ServerFarmGetResponse> GetAsync (
string webSpaceName,
string serverFarmName,
CancellationToken cancellationToken
)
Task<ServerFarmGetResponse^>^ GetAsync (
String^ webSpaceName,
String^ serverFarmName,
CancellationToken cancellationToken
)
Task<ServerFarmGetResponse> GetAsync (
String webSpaceName,
String serverFarmName,
CancellationToken cancellationToken
)
function GetAsync (
webSpaceName : String,
serverFarmName : String,
cancellationToken : CancellationToken
) : Task<ServerFarmGetResponse>
Parameters
- webSpaceName
The name of the webspace.
- serverFarmName
The name of the server farm.
- cancellationToken
The cancellation token.
Return Value
An ServerFarmGetResponse object that provides the status of the operation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IServerFarmOperations Interface
IServerFarmOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace