IAffinityGroupOperations.GetAsync Method (String, CancellationToken)
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)
Syntax
Task<AffinityGroupGetResponse> GetAsync(
string affinityGroupName,
CancellationToken cancellationToken
)
Task<AffinityGroupGetResponse^>^ GetAsync(
String^ affinityGroupName,
CancellationToken cancellationToken
)
abstract GetAsync :
affinityGroupName:string *
cancellationToken:CancellationToken -> Task<AffinityGroupGetResponse>
Function GetAsync (
affinityGroupName As String,
cancellationToken As CancellationToken
) As Task(Of AffinityGroupGetResponse)
Parameters
affinityGroupName
Type: System.StringThe name of the affinity group from which the properties should be returned.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AffinityGroupGetResponse>
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:
See Also
IAffinityGroupOperations Interface
Microsoft.WindowsAzure.Management Namespace
Return to top