| SqlEventLogAddCategory Method |
Adds an event category to the log.
Categories help to classify the type of event that occurred.
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 AddCategory(
string name
)
Protected Function AddCategory (
name As String
) As Boolean
protected:
bool AddCategory(
String^ name
)
member AddCategory :
name : string -> bool
Parameters
- name
- Type: SystemString
The name of the event category.
Return Value
Type:
BooleanTrue if the event category was added, false otherwise.
See Also