Places all conditions for the specified event sources into the enabled state.
Therefore, the server will now generate condition-related events for these conditions.
The effect of this method is global within the scope of the event server.
Therefore, if the server is supporting multiple clients, the conditions are
enabled for all clients, and they will begin receiving the associated
condition-related events.
Syntax
Visual Basic (Declaration) | |
---|
Public Function EnableConditionBySource( _
ByVal Sources() As String _
) As Integer
|
Parameters
- Sources
Return Value
HRESULTS error/success code.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
See Also