AffinityGroupOperationsExtensions.GetAsync Method (IAffinityGroupOperations, String)
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
public static Task<AffinityGroupGetResponse> GetAsync(
this IAffinityGroupOperations operations,
string affinityGroupName
)
public:
[ExtensionAttribute]
static Task<AffinityGroupGetResponse^>^ GetAsync(
IAffinityGroupOperations^ operations,
String^ affinityGroupName
)
static member GetAsync :
operations:IAffinityGroupOperations *
affinityGroupName:string -> Task<AffinityGroupGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
operations As IAffinityGroupOperations,
affinityGroupName As String
) As Task(Of AffinityGroupGetResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.IAffinityGroupOperationsThe IAffinityGroupOperations object.
affinityGroupName
Type: System.StringThe name of the affinity group from which the properties should be returned.
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
AffinityGroupOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace
Return to top