Método IAffinityGroupOperations.GetAsync
Asynchronously returns the system properties that are associated with the specified affinity group.
Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (em Microsoft.WindowsAzure.Management.dll)
Uso
'Uso
Dim instance As IAffinityGroupOperations
Dim affinityGroupName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AffinityGroupGetResponse)
returnValue = instance.GetAsync(affinityGroupName, cancellationToken)
Sintaxe
'Declaração
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>
Parâmetros
- affinityGroupName
The name of the affinity group from which the properties should be returned.
- cancellationToken
The cancellation token.
Valor de retorno
An AffinityGroupGetResponse object that contains the properties of the affinity group.
Comentários
For more information about retrieving the properties of an affinity group, see the following resources:
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Interface IAffinityGroupOperations
Membros IAffinityGroupOperations
Namespace Microsoft.WindowsAzure.Management