| SqlEventLogDeleteEvent Method |
Deletes an event from 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 DeleteEvent(
DateTime date,
int sourceId
)
Protected Function DeleteEvent (
date As DateTime,
sourceId As Integer
) As Boolean
protected:
bool DeleteEvent(
DateTime date,
int sourceId
)
member DeleteEvent :
date : DateTime *
sourceId : int -> bool
Parameters
- date
- Type: SystemDateTime
The date/time of the event to delete. - sourceId
- Type: SystemInt32
The ID of the source of the event to delete.
Return Value
Type:
BooleanTrue if the event was deleted, false otherwise.
See Also