VirtualNetworkSite.DnsServers Property
Gets or sets a collection of DnsServer objects that lists the DNS Servers that are associated with the Virtual Network site.
Namespace: Microsoft.WindowsAzure.Management.VirtualNetworks.Models.NetworkListResponse
Assembly: Microsoft.WindowsAzure.Management.VirtualNetworks (in Microsoft.WindowsAzure.Management.VirtualNetworks.dll)
Usage
'Usage
Dim instance As VirtualNetworkSite
Dim value As IList(Of DnsServer)
value = instance.DnsServers
instance.DnsServers = value
Syntax
'Declaration
Public Property DnsServers As IList(Of DnsServer)
public IList<DnsServer> DnsServers { get; set; }
public:
property IList<DnsServer^>^ DnsServers {
IList<DnsServer^>^ get ();
void set (IList<DnsServer^>^ value);
}
/** @property */
public IList<DnsServer> get_DnsServers ()
/** @property */
public void set_DnsServers (IList<DnsServer> value)
public function get DnsServers () : IList<DnsServer>
public function set DnsServers (value : IList<DnsServer>)
Property Value
A collection of DnsServer 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
VirtualNetworkSite Class
VirtualNetworkSite Members
Microsoft.WindowsAzure.Management.VirtualNetworks.Models.NetworkListResponse Namespace