Share via


Gateway.Sites Property

Gets or sets a collection of LocalNetworkSite objects that lists the local network sites to which the Virtual Network can connect.

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

Usage

'Usage
Dim instance As Gateway
Dim value As IList(Of LocalNetworkSite)

value = instance.Sites

instance.Sites = value

Syntax

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

/** @property */
public void set_Sites (IList<LocalNetworkSite> value)
public function get Sites () : IList<LocalNetworkSite>

public function set Sites (value : IList<LocalNetworkSite>)

Property Value

A collection of LocalNetworkSite 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 and Windows Server 2008

Target Platforms

See Also

Reference

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