Event Object
The Event object is the internal representation MOM uses for entries collected from NT Event logs, application log files, and other MOM data providers.
You can use the Event object to view the read-only events provided by MOM through the ScriptContext.Event property as well as the read-write events created within the script using the ScriptContext.CreateEvent method.
Methods
Name | Description |
---|---|
Gets an event parameter. |
|
Sets the event parameters of a newly created event object. |
Properties
Name | Description |
---|---|
Gets the category of the event. |
|
Gets the Windows event ID of the event. |
|
Gets the number of event parameters. |
|
Gets the source of the event, which is often the name of the application or service that raised it. |
|
Gets the type of the event, such as Warning or Error. |
|
Gets the globally unique identifier (GUID) of the Event. |
|
Gets the local date and time that the event occurred. |
|
Gets the name of the computer that logged the event. |
|
Gets the logging domain of the event. |
|
Gets the description of the event. |
|
Gets the name of the message DLL that provides the event. |
|
Gets the version number of the message DLL that provides the event. |
|
Gets the name of the computer that generated the event. |
|
Gets the source domain of the event. |
|
Gets the date and time that the event occurred. |
|
Gets the domain name for the Windows NT or Windows 2000 account that generated the event. |
|
Gets the name of the Windows NT or Windows 2000 account that generated the event. |
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2000 or later
See Also
ScriptContext.CreateEvent Method | ScriptContext.Event Property