DANSrvAE Reference
onGetFilter Method
See Also  Send comments on this topic.
NSPlugin Assembly > NSPlugin Namespace > EventSubscription Class : onGetFilter Method

_eventType
A bit map with EventType enumerator flags specifying which event types are of allowed through the CurrentEventFilter.
numCategories
Length of the event category array returned.
eventCategories
Array of event categories for the CurrentEventFilter.
lowSeverity
Lowest severity allowed through CurrentEventFilter. If the server does not support filtering on severity, the returned value will be 1.
highSeverity
Highest severity allowed through CurrentEventFilter. If the server does not support filtering on severity, the returned value will be 1000.
numAreas
Length of the area list array returned.
areaList
List of process areas for the CurrentEventFilter.
numSources
Length of the event source list returned.
sourceList
List of sources for the CurrentEventFilter.

Glossary Item Box

GetFilter default handler that maybe overloaded by NSPluginAEbase.

Syntax

Visual Basic (Declaration) 
Public Overridable Function onGetFilter( _
   ByRef _eventType As Integer, _
   ByRef numCategories As Integer, _
   ByRef eventCategories As Integer(), _
   ByRef lowSeverity As Integer, _
   ByRef highSeverity As Integer, _
   ByRef numAreas As Integer, _
   ByRef areaList As String(), _
   ByRef numSources As Integer, _
   ByRef sourceList As String() _
) As Integer
C# 
public virtual int onGetFilter( 
   out int _eventType,
   out int numCategories,
   out int[] eventCategories,
   out int lowSeverity,
   out int highSeverity,
   out int numAreas,
   out string[] areaList,
   out int numSources,
   out string[] sourceList
)

Parameters

_eventType
A bit map with EventType enumerator flags specifying which event types are of allowed through the CurrentEventFilter.
numCategories
Length of the event category array returned.
eventCategories
Array of event categories for the CurrentEventFilter.
lowSeverity
Lowest severity allowed through CurrentEventFilter. If the server does not support filtering on severity, the returned value will be 1.
highSeverity
Highest severity allowed through CurrentEventFilter. If the server does not support filtering on severity, the returned value will be 1000.
numAreas
Length of the area list array returned.
areaList
List of process areas for the CurrentEventFilter.
numSources
Length of the event source list returned.
sourceList
List of sources for the CurrentEventFilter.

Return Value

HResult success/error code

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.