| 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
)
Protected Function UpdateEvent (
date As DateTime,
sourceId As Integer,
category As String,
severityLevel As Nullable(Of EventSeverityLevels),
details As String
) As Boolean
protected:
bool UpdateEvent(
DateTime date,
int sourceId,
String^ category,
Nullable<EventSeverityLevels> severityLevel,
String^ details
)
member UpdateEvent :
date : DateTime *
sourceId : int *
category : string *
severityLevel : Nullable<EventSeverityLevels> *
details : string -> bool
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:
BooleanTrue if the update succeeded, false otherwise.
See Also