Share via


IVMVirtualServerEvents::OnHeartbeatStopped method

The OnHeartbeatStopped method is called when the heartbeat stops for any virtual machine, indicating that a virtual machine has stopped running.

Syntax

HRESULT OnHeartbeatStopped(
  [in] BSTR virtualMachineConfig
);

Parameters

virtualMachineConfig [in]

The name of the virtual machine.

Return value

A 32-bit value that describes an error or warning.

Remarks

The client program must implement this interface method to receive notification of the vmVirtualServerEvent_VMHeartbeatStopped event originating from IVMVirtualServer. To monitor a specific virtual machine, use the IVMVirtualMachineEvents::OnHeartbeatStopped method.

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

IVMVirtualServerEvents