Click or drag to resize
Galactic API

SqlEventLogFind Method

Finds events that match the filters provided. See each parameter for information on how to filter the search.

Namespace:  Galactic.EventLog.Sql
Assembly:  Galactic.EventLog.Sql (in Galactic.EventLog.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public override List<Event> Find(
	string source,
	Nullable<EventSeverityLevels> severity,
	string category,
	Nullable<DateTime> begin,
	Nullable<DateTime> end
)

Parameters

source
Type: SystemString
Searches for all events with sources that match the string provided. Returns events of all sources on a null or empty string.
severity
Type: SystemNullableEventSeverityLevels
Searches for events with the specified severity level. Returns events of all severity levels on null.
category
Type: SystemString
Searches for events with categories that match the string provided. Returns events of all categories on a null or empty string.
begin
Type: SystemNullableDateTime
Returns events with a date/time on or after the date/time supplied. Does not put a lower range on event dates on a null date/time.
end
Type: SystemNullableDateTime
Returns events with a date/time on or before the date/time supplied. Does not put an upper range on event dates on a null date/time.

Return Value

Type: ListEvent
A list of events sorted from earliest to latest that match the given search parameters.

Implements

IEventLogFind(String, NullableEventSeverityLevels, String, NullableDateTime, NullableDateTime)
See Also