Microsoft Operations Manager

LogEvent Method

The LogEventmethod logs a generic event to the Windows NT application event log using the MOM event source.

[VBScript] Utility.LogEvent(Description
String, [Severity Variant])


Text of the event that will be logged to the event log.

Severity level of the Windows NT event to be logged. This parameter is optional and can be one of the following values:

Return Value



The Utilityobject should not be used when creating new scripts. It is included only to support existing scripts. For more information about equivalent APIs, see Using Operating System APIs in Scripts.


Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

Utility Object

Did you find this information useful? Please send your suggestions and comments about the documentation to