Compartir a través de


IVMVirtualNetwork interface

The IVMVirtualNetwork interface defines a virtual network. IVMVirtualNetwork objects are returned from IVMVirtualServer methods IVMVirtualServer::CreateVirtualNetwork and IVMVirtualServer::FindVirtualNetwork. You can also retrieve an IVMVirtualNetwork object from the IVMVirtualNetworkCollection object returned from the IVMVirtualServer::VirtualNetworks property.

When to use

A virtual network consists of a virtual switch, which performs all internal routing, and several connections that are "plugged in" to the virtual switch. These connections can be a real external host connection, a virtual Ethernet NIC or a "virtual network server". Currently, the only "virtual network server" is the DHCP virtual network server.

Members

The IVMVirtualNetwork interface inherits from the IDispatch interface. IVMVirtualNetwork also has these types of members:

Properties

The IVMVirtualNetwork interface has these properties.

Property Access type Description
_ID
Read-only
The internal ID of this virtual network.
BytesDropped
Read-only
The current number of bytes dropped per second by this virtual network.
BytesDroppedHistory
Read-only
The recent number of bytes dropped by this virtual network (as an array of number of bytes).
BytesReceived
Read-only
The current number of bytes received per second by this virtual network.
BytesReceivedHistory
Read-only
The recent number of bytes received per second by this virtual network (as an array of number of bytes).
BytesSent
Read-only
The current number of bytes sent per second by this virtual network.
BytesSentHistory
Read-only
The recent number of bytes sent per second this virtual network (as an array of number of bytes).
DHCPVirtualNetworkServer
Read-only
The DHCP virtual network server attached to this virtual network.
File
Read-only
The full path to the virtual network's configuration file.
HostAdapter
Read/write
The name of the host Ethernet adapter to which the virtual network is connected.
Name
Read/write
The unique name of this virtual network.
NetworkAdapters
Read-only
An enumerable collection of NICs attached to the virtual network.
Notes
Read/write
The notes for this virtual network.
PacketsDropped
Read-only
The current number of packets dropped per second by this virtual network.
PacketsDroppedHistory
Read-only
The recent number of packets dropped per second by this virtual network (as an array of number of bytes).
PacketsReceived
Read-only
The current number of packets received per second by this virtual network.
PacketsReceivedHistory
Read-only
The recent number of packets received per second by this virtual network (as an array of number of packets).
PacketsSent
Read-only
The current number of packets sent per second by this virtual network.
PacketsSentHistory
Read-only
The recent number of packets sent per second by this virtual network (as an array of number of packets).
Security
Read/write
The IVMSecurity object associated with the virtual network.

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