| SqlEventLogUpdateCategory Method |
Updates the attributes of an existing event category.
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 UpdateCategory(
int id,
string name
)
Protected Function UpdateCategory (
id As Integer,
name As String
) As Boolean
protected:
bool UpdateCategory(
int id,
String^ name
)
member UpdateCategory :
id : int *
name : string -> bool
Parameters
- id
- Type: SystemInt32
The ID of the event category in the database. - name
- Type: SystemString
The name to give the event category.
Return Value
Type:
BooleanTrue if the update succeeded, false otherwise.
See Also