IVMDHCPVirtualNetworkServer::DNSServers property
The DNSServers property contains a comma-separated list of the TCP/IP address representing DNS servers. The list of DNS servers is returned to the DHCP client as part of the server's response.
This property is read/write.
Syntax
HRESULT put_DNSServers(
[in] BSTR dnsServers
);
HRESULT get_DNSServers(
[out] BSTR *dnsServers
);
VB |
---|
|
Property value
Contains a comma-separated list of TCP/IP addresses formatted as a string in dotted-decimal notation. For example, 10.237.0.3,10.237.0.4.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The dnsServers parameter was NULL. |
|
The dnsServers parameter was an empty string. |
|
The dnsServers parameter contained an invalid IP address. |
|
An unexpected error has occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|