共用方式為


IVMVirtualServerEvents interface

The IVMVirtualServerEvents interface defines the outgoing event interface for IVMVirtualServer.

When to implement

The client implements these methods to receive events sent from IVMVirtualServer.

Members

The IVMVirtualServerEvents interface inherits from the IUnknown interface. IVMVirtualServerEvents also has these types of members:

Methods

The IVMVirtualServerEvents interface has these methods.

Method Description
OnEventLogged Called when Virtual Server logs an event.
OnHeartbeatStopped Called when the heartbeat of a virtual machine stops.
OnServiceEvent Called when a Virtual Server service event occurs.
OnVMStateChange Called when the state of a virtual machine state has changed.

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