Share via


VirtualMachineVMImageGetDetailsResponse.AffinityGroup Property

Optional. The affinity group name of the virtual machine image.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As VirtualMachineVMImageGetDetailsResponse
Dim value As String

value = instance.AffinityGroup

instance.AffinityGroup = value

Syntax

'Declaration
Public Property AffinityGroup As String
public string AffinityGroup { get; set; }
public:
property String^ AffinityGroup {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_AffinityGroup ()

/** @property */
public void set_AffinityGroup (String value)
public function get AffinityGroup () : String

public function set AffinityGroup (value : String)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineVMImageGetDetailsResponse Class
VirtualMachineVMImageGetDetailsResponse Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace