Share via


IVMDHCPVirtualNetworkServer::Network property

The Network property contains the base TCP/IP address of the range.

This property is read-only.

Syntax

HRESULT get_Network(
  [out] BSTR *network
);

VB
VMDHCPVirtualNetworkServer.Network( _
  ByRef network _
)

Property value

Retrieves the TCP/IP address formatted as a string in dotted-decimal notation, such as "10.237.0.0".

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The parameter network was NULL.
DISP_E_EXCEPTION
An unexpected error has occurred.

Remarks

The Network property in conjunction with the NetworkMask property define the range of TCP/IP addresses managed by the DHCP server. For example, a Network of "192.168.0.0" and a NetworkMask of "255.255.255.0" define the range "192.168.0.1" to "192.168.0.254". ("192.168.0.0" is invalid and "192.168.0.255" is a special address used to broadcast to all nodes in this network range.)

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