Because of the global effect of this method, some event server implementers may choose not to implement it. In this case, the server should return E_NOTIMPL. A condition may be associated with multiple sources (see Section 2.4). Enabling conditions associated with one source does not change the enabled/disabled state of conditions of the same name, which are associated with other sources. For example, the “LevelAlarm” condition may be enabled for “A100” and disabled for “FIC101”.
A source is enabled if its condition state is set to enabled and all areas within the hierarchy of its containing areas are enabled
Visual Basic (Declaration) | |
---|---|
Public Function EnableConditionBySource( _ ByVal sources() As String _ ) As Integer |
Parameters
- sources
- Array of source names, as returned by EventAreaBrowser.GetQualifiedSourceName
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family