Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VirtualNetwork property contains the virtual network to which the virtual NIC is attached.
This property is read-only.
Syntax
HRESULT get_VirtualNetwork(
[out] IVMVirtualNetwork **virtualNetwork
);
| VB |
|---|
|
Property value
The VMVirtualNetwork object which is associated with this virtual NIC.
This property value is read-only.
Error codes
| Name | Meaning |
|---|---|
|
The operation was successful. |
|
The parameter virtualNetwork was NULL. |
|
This network interface is unplugged and is not connected to a virtual network. |
|
This interface is connected to a virtual network with an invalid ID. |
|
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 |
|