Click or drag to resize
Galactic API

SqlEventLogGetCategories Method

Gets event categories from the log that match the specified criteria. Note: See parameter descriptions for information on filtering your results.

Namespace:  Galactic.EventLog.Sql
Assembly:  Galactic.EventLog.Sql (in Galactic.EventLog.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
protected List<SqlEventLogNamedItem> GetCategories(
	int id,
	string name
)

Parameters

id
Type: SystemInt32
The ID of the event category in the database. Provide a 0 ID to return event categories with any ID from the log.
name
Type: SystemString
The name of the event category to return. Provide and empty or null string to return event categories with any name from the log.

Return Value

Type: ListSqlEventLogNamedItem
A list of categories that match the criteria provided.
See Also