Click or drag to resize
Galactic API

SqlEventLogUpdateEvent Method

Updates the attributes of an existing event.

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 UpdateEvent(
	DateTime date,
	int sourceId,
	string category,
	Nullable<EventSeverityLevels> severityLevel,
	string details
)

Parameters

date
Type: SystemDateTime
The date/time of the event to modify.
sourceId
Type: SystemInt32
The source ID of the event to modify.
category
Type: SystemString
A category that classifies the type of event.
severityLevel
Type: SystemNullableEventSeverityLevels
The importance of the event. Provide a null to keep its current value.
details
Type: SystemString
The new details text assigned to the event. Provide an empty or null string to keep its current value.

Return Value

Type: Boolean
True if the update succeeded, false otherwise.
See Also