Microsoft Internet Security and Acceleration Server 2004 SDK |
The AddEnumFilter method creates a new FPCFilterExpression object representing an enumeration value filter expression in the collection and returns a reference to it.
HRESULT AddEnumFilter( FpcFilterCriteria Criteria, FpcFilterCondition Condition, long Value, IFPCFilterExpression** ppNewFilterExpression );
When the FilterType property of the collection is set to fpcSessionsFilter, the only valid value for this parameter is fpcFilterBySessionType.
When the FilterType property of the collection is set to fpcLogViewerFilter, the following values are valid:
This method can return one of the following:
The FilterType property of the collection must be set to fpcSessionsFilter or fpcLogViewerFilter before running this method.
The AddEnumFilter method creates a new FPCFilterExpression object representing an enumeration value filter expression in the collection and returns a reference to it.
Function AddEnumFilter( _ ByVal Criteria As FpcFilterCriteria, _ ByVal Condition As FpcFilterCondition, _ ByVal Value As Long _ ) As FPCFilterExpression
When the FilterType property of the collection is set to fpcSessionsFilter, the only valid value for this parameter is fpcFilterBySessionType.
When the FilterType property of the collection is set to fpcLogViewerFilter, the following values are valid:
This method returns a reference to the FPCFilterExpression object if successful. Otherwise, an error is raised that can be intercepted by using an error handler.
The FilterType property of the collection must be set to fpcSessionsFilter or fpcLogViewerFilter before running this method.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.