Property Name
EventType
Property Type
TypesOfEvent
Description
Sets the type of an event. The event can be one of the following
types:
Values |
Description |
EVENTTYPE_ERROR = 1 |
This represents the event type as error |
EVENTTYPE_WARNING = 2 |
This represents the event type as warning |
EVENTTYPE_INFORMATION = 4 |
This represents the event type as information |
EVENTTYPE_AUDITSUCCESS = 8 |
This represents the event type as success audit |
EVENTTYPE_AUDITFAILURE = 16 |
This represents the event type as failure audit |
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 EventType property
EventLog.eventType = EVENTTYPE_INFORMATION
See Also: