Returns the filter currently in use for event subscriptions.
Syntax
Parameters
- EventType
- A bit map specifying which event types are of allowed through the filter;
OPC_SIMPLE_EVENT, OPC_CONDITION_EVENT, OPC_TRACKING_EVENT, OPC_ALL_EVENTS.
These types can be OR’ed together to filter multiple types.
- EventCategories
- Array of event categories for the filter.
- LowSeverity
- Lowest severity allowed through filter.
If the server does not support filtering on severity, the returned value will be 1.
- HighSeverity
- Highest severity allowed through filter.
If the server does not support filtering on severity, the returned value will be 1000.
- AreaList
- List of process areas for the filter.
- SourceList
- List of sources for the filter.
Return Value
HRESULTS error/success code.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
See Also