| SqlEventLogAddSource Method |
Adds an event source to the log.
Event sources identify where the event originated.
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 AddSource(
string name
)
Protected Function AddSource (
name As String
) As Boolean
protected:
bool AddSource(
String^ name
)
member AddSource :
name : string -> bool
Parameters
- name
- Type: SystemString
The name of the event source.
Return Value
Type:
BooleanTrue if the event source was added, false otherwise.
See Also