共用方式為


IVMVirtualNetwork::BytesSentHistory property

The BytesSentHistory property contains the recent number of bytes sent per second by this virtual network (as an array of number of bytes).

This property is read-only.

Syntax

HRESULT get_BytesSentHistory(
  [out] VARIANT *bytesSent
);

VB
VMVirtualNetwork.BytesSentHistory( _
  ByRef bytesSent _
)

Property value

The number of bytes sent per second by this virtual network as an unsigned Integer array of 60 elements, representing the number of bytes sent at each second over the past minute.

This property value is read-only.

Error codes

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

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

IVMVirtualNetwork