Freigeben über


IVMDHCPVirtualNetworkServer::WINSServers property

The WINSServers property contains a comma-separated list of the TCP/IP address representing WINS servers. The list of WINS servers is returned to the DHCP client as part of the server's response.

This property is read/write.

Syntax

HRESULT put_WINSServers(
  [in]  BSTR winsServers
);

HRESULT get_WINSServers(
  [out] BSTR *winsServers
);

VB
VMDHCPVirtualNetworkServer.WINSServers( _
  ByRef winsServers, _
  ByVal winsServers _
)

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
S_OK
The operation was successful.
E_POINTER
The winsServers parameter was NULL.
E_INVALIDARG
The winsServers parameter was an empty string.
VM_E_INVALID_IP_ADDRESS
The winsServers parameter contained an invalid IP address.
DISP_E_EXCEPTION
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
VsComInterfaces.h

See also

IVMDHCPVirtualNetworkServer