| SqlEventLogGetSeverityLevels Method |
Gets event severity levels 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> GetSeverityLevels(
int id,
string name
)
Protected Function GetSeverityLevels (
id As Integer,
name As String
) As List(Of SqlEventLogNamedItem)
protected:
List<SqlEventLogNamedItem^>^ GetSeverityLevels(
int id,
String^ name
)
member GetSeverityLevels :
id : int *
name : string -> List<SqlEventLogNamedItem>
Parameters
- id
- Type: SystemInt32
The ID of the event severity level in the database. Provide a 0 ID to return event severity levels with any ID from the log. - name
- Type: SystemString
The name of the event severity level to return. Provide an empty or null string to return event severity levels with any name from the log.
Return Value
Type:
ListSqlEventLogNamedItemA list of event severity levels that match the criteria provided.
See Also