共用方式為


IVMVirtualNetwork::PacketsReceivedHistory property

The PacketsReceivedHistory property contains the recent number of packets received per second by this virtual network (as an array of number of packets).

This property is read-only.

Syntax

HRESULT get_PacketsReceivedHistory(
  [out] VARIANT *packetsReceived
);

VB
' Data type: Object

VMVirtualNetwork.PacketsReceivedHistory( _ ByRef packetsReceived _ )

Property value

The recent number of packets received per second by this virtual network as an unsigned Integer array of 60 elements, representing the number of packets received 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 packetsReceived 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