| SqlEventLogAddEvent Method |
Adds an event to the log.
Namespace:
Galactic.EventLog.Sql
Assembly:
Galactic.EventLog.Sql (in Galactic.EventLog.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax protected bool AddEvent(
string source,
string category,
EventSeverityLevels severityLevel,
string details
)
Protected Function AddEvent (
source As String,
category As String,
severityLevel As EventSeverityLevels,
details As String
) As Boolean
protected:
bool AddEvent(
String^ source,
String^ category,
EventSeverityLevels severityLevel,
String^ details
)
member AddEvent :
source : string *
category : string *
severityLevel : EventSeverityLevels *
details : string -> bool
Parameters
- source
- Type: SystemString
A name for the source of the event. - category
- Type: SystemString
A category that classifies the type of event. - severityLevel
- Type: Galactic.EventLogEventSeverityLevels
The importance of the event. - details
- Type: SystemString
A detailed description of the event.
Return Value
Type:
BooleanTrue if the event was added, false otherwise.
See Also