Condividi tramite


Metodo IAffinityGroupOperations.GetAsync

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

Spazio dei nomi: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)

Utilizzo

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

returnValue = instance.GetAsync(affinityGroupName, cancellationToken)

Sintassi

'Dichiarazione
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>

Parametri

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

Valore restituito

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

Osservazioni

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

Sicurezza dei thread

Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows 7 e Windows Server 2008

Piattaforme di destinazione

Vedere anche

Riferimento

Interfaccia IAffinityGroupOperations
Membri IAffinityGroupOperations
Spazio dei nomi Microsoft.WindowsAzure.Management