Compartilhar via


IVMVirtualServerEvents::OnEventLogged method

The OnEventLogged method is called when Virtual Server logs an event.

Syntax

HRESULT OnEventLogged(
  [in] long logMessageID
);

Parameters

logMessageID [in]

The message identifier of the event log message that was logged.

Return value

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

Remarks

This method is called when Virtual Server logs a message to the Windows event log. The client program must implement this interface method to receive notification of the vmVirtualServerEvent_EventLogged event originating from IVMVirtualServer. To be notified only of major service events, use the OnServiceEvent 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