IEvtCfgSource

The ITcEvtCfgSource Interfaces provides access to objects representing one source in the event configuration. Each source is identified by its unique Id and may contain a Name, describing the source, in multiple languages. If part of an configuration, a source object has exactly one parent object of type IEvtConfiguration. One Source object can not be child of multiple configurations. A Source may -and mostly will- contain multiple children of type ITcEvtCfgEvent.

Methods and Properties in Vtable Order

ITcEvtConfig Methods

Description

Name

Get/Set the source name in a specified language

AddEvent

Add an Event to this source

GetEvent

Get an Event with a certain Id

RemoveEvent

Remove an event

Id

Get/Set the Source Id

GetFirstName

Start enumerating through source names

GetNextName

Continue enumerating source names

GetFirstEvent

Start enumerating children

GetNextEvent

Continue enumerating children

GetDefaultName

Get a default name according to the local machine language

RemoveName

Remove a name with a certain language

Parent

Get/Set the parent of this source

IsParentOnlyReference

Check whether the object is only more referenced by its parent

EventCount

Get the number of events which are children of this source

CopyTo

Copy the source to another EvtCfgSource object