IVMDHCPVirtualNetworkServer::NetworkMask property
The NetworkMask property contains the mask used to calculate the base TCP/IP address for the given network.
This property is read-only.
Syntax
HRESULT get_NetworkMask(
[out] BSTR *networkMask
);
VB |
---|
|
Property value
Retrieves the TCP/IP address formatted as a string in dotted-decimal notation, such as "255.255.0.0".
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The parameter networkMask was NULL. |
|
An unexpected error has occurred. |
Remarks
The NetworkMask and the Network parameter 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 |
|