Share via


AffinityGroupGetResponse.HostedServices Property

Gets or sets a collection of HostedServiceReference objects that lists the cloud services that associated with the affinity group.

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

Usage

'Usage
Dim instance As AffinityGroupGetResponse
Dim value As IList(Of HostedServiceReference)

value = instance.HostedServices

instance.HostedServices = value

Syntax

'Declaration
Public Property HostedServices As IList(Of HostedServiceReference)
public IList<HostedServiceReference> HostedServices { get; set; }
public:
property IList<HostedServiceReference^>^ HostedServices {
    IList<HostedServiceReference^>^ get ();
    void set (IList<HostedServiceReference^>^ value);
}
/** @property */
public IList<HostedServiceReference> get_HostedServices ()

/** @property */
public void set_HostedServices (IList<HostedServiceReference> value)
public function get HostedServices () : IList<HostedServiceReference>

public function set HostedServices (value : IList<HostedServiceReference>)

Property Value

A collection of HostedServiceReference objects.

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

AffinityGroupGetResponse Class
AffinityGroupGetResponse Members
Microsoft.WindowsAzure.Management.Models Namespace