SavedFiltersDefaultTempFilterLife Method |
Gets the default life, in days, for a Temp filter.
This default will be used to determine when to delete any
SavedFilter marked
Temp,
but without the
EndDate specified.
It will also be used when creating a
SavedFilter via the
FilterSave command when
the
Temp attribute is specified. That value can then be changed by setting
EndDate
and calling
Save(IAppContext) .
The defualt life is currently 2 days, but may be overridden by specifying the
DefaultTempFilterLifeCompatibility feature.
A zero or negative return indicates that the system should revert to its older behaviour and NOT use a default life.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int DefaultTempFilterLife(
IAppContext cxt
)
Public Shared Function DefaultTempFilterLife (
cxt As IAppContext
) As Integer
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context.
Return Value
Type:
Int32The default life, in days, a zero or negative number indicates no default life.
See Also