Share via


IAffinityGroupOperations.GetAsync Method

Asynchronously returns the system properties that are associated with the specified affinity group.

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

Usage

'Usage
Dim instance As IAffinityGroupOperations
Dim affinityGroupName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AffinityGroupGetResponse)

returnValue = instance.GetAsync(affinityGroupName, cancellationToken)

Syntax

'Declaration
Function GetAsync ( _
    affinityGroupName As String, _
    cancellationToken As CancellationToken _
) As Task(Of AffinityGroupGetResponse)
Task<AffinityGroupGetResponse> GetAsync (
    string affinityGroupName,
    CancellationToken cancellationToken
)
Task<AffinityGroupGetResponse^>^ GetAsync (
    String^ affinityGroupName, 
    CancellationToken cancellationToken
)
Task<AffinityGroupGetResponse> GetAsync (
    String affinityGroupName, 
    CancellationToken cancellationToken
)
function GetAsync (
    affinityGroupName : String, 
    cancellationToken : CancellationToken
) : Task<AffinityGroupGetResponse>

Parameters

  • affinityGroupName
    The name of the affinity group from which the properties should be returned.
  • cancellationToken
    The cancellation token.

Return Value

An AffinityGroupGetResponse object that contains the properties of the affinity group.

Remarks

For more information about retrieving the properties of an affinity group, see the following resources:

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

IAffinityGroupOperations Interface
IAffinityGroupOperations Members
Microsoft.WindowsAzure.Management Namespace