VirtualNetworkSite.AffinityGroup Property

Gets or sets the name of an affinity group for the Virtual Network site.

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

Dim instance As VirtualNetworkSite
Dim value As String

value = instance.AffinityGroup

instance.AffinityGroup = value

public string AffinityGroup { get; set; }
/** @property */
public String get_AffinityGroup ()

/** @property */
public void set_AffinityGroup (String value)

public function get AffinityGroup () : String

public function set AffinityGroup (value : String)

Property Value

The name.

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

Development Platforms

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

Target Platforms


VirtualNetworkSite Class
VirtualNetworkSite Members
Microsoft.WindowsAzure.Management.VirtualNetworks.Models.NetworkListResponse Namespace