IEventLogger Property: EventCategory

Property Name
EventCategory

Property Type
Long

Description
Gets and sets the category of an event. The value is event source specific.

Example

Dim EventLog As IEventLogger
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of 'the Event Logger component.
Set EventLog = CreateObject ("DirectScript.EventLogger.1")
'Set EventCategory property
EventLog.EventCategory = 10

 

See Also: