Condividi tramite


Metodo AffinityGroupOperationsExtensions.Update

Updates the label or description of an affinity group in the specified subscription.

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

Utilizzo

'Utilizzo
Dim operations As IAffinityGroupOperations
Dim affinityGroupName As String
Dim parameters As AffinityGroupUpdateParameters
Dim returnValue As AzureOperationResponse

returnValue = AffinityGroupOperationsExtensions.Update(operations, affinityGroupName, parameters)

Sintassi

'Dichiarazione
<ExtensionAttribute> _
Public Shared Function Update ( _
    operations As IAffinityGroupOperations, _
    affinityGroupName As String, _
    parameters As AffinityGroupUpdateParameters _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse Update (
    IAffinityGroupOperations operations,
    string affinityGroupName,
    AffinityGroupUpdateParameters parameters
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ Update (
    IAffinityGroupOperations^ operations, 
    String^ affinityGroupName, 
    AffinityGroupUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse Update (
    IAffinityGroupOperations operations, 
    String affinityGroupName, 
    AffinityGroupUpdateParameters parameters
)
ExtensionAttribute 
public static function Update (
    operations : IAffinityGroupOperations, 
    affinityGroupName : String, 
    parameters : AffinityGroupUpdateParameters
) : AzureOperationResponse

Parametri

  • affinityGroupName
    The name of the affinity group to update.

Valore restituito

An OperationResponse object that includes an HTTP status code and request ID.

Osservazioni

For more information about updating affinity groups, 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

Classe AffinityGroupOperationsExtensions
Membri AffinityGroupOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure.Management