IVMDHCPVirtualNetworkServer::DefaultGatewayAddress property
The DefaultGatewayAddress property specifies the TCP/IP address of the default gateway.
This property is read/write.
Syntax
HRESULT put_DefaultGatewayAddress(
[in] BSTR defaultGatewayAddress
);
HRESULT get_DefaultGatewayAddress(
[out] BSTR *defaultGatewayAddress
);
VB |
---|
|
Property value
The TCP/IP address formatted as a string in dotted-decimal notation. For example, 10.237.0.1.
This property value is read/write. If an empty value is written then the current default gateway is deleted.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The defaultGatewayAddress parameter was NULL. |
|
The defaultGatewayAddress parameter was not a valid dotted-decimal 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 |
|