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