Sets the maximum duration the query runs on the server, in seconds. When unspecified,
the value of the
ObjectStore property
DefaultQueryTimeLimit is used.
Warning: Date/Time values in queries are evaluated with respect to the
Content Engine server clock. If the client and server clocks are not in sync,
be careful when translating relative time concepts into absolute times. For example,
specifying a value that means "within the last 5 minutes" on the client will
translate to a comparison to an absolute time in the SQL query, which may not mean
"within the last 5 minutes" relative to the server clock.
Namespace:
FileNet.Api.Query
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Public Overridable Sub SetTimeLimit ( _
timeLimit As Integer _
) |
C# |
---|
public virtual void SetTimeLimit(
int timeLimit
) |
Visual C++ |
---|
public:
virtual void SetTimeLimit(
int timeLimit
) |
JavaScript |
---|
function setTimeLimit(timeLimit); |
Parameters
- timeLimit
- Type: System..::.Int32
An Integer specifying the maximum duration of the
query. If unspecified, ObjectStore.DefaultQueryTimeLimit is used.