Sets the maximum duration the query runs on the server, in seconds. When unspecified, the value of the
Namespace: FileNet.Api.Query
Assembly: FileNet.Api (in filenet.api.dll)
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)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Sub SetTimeLimit( _ ByVal timeLimit As Integer _ ) |
C# |
---|
public virtual void SetTimeLimit( int timeLimit ) |
C++ |
---|
public: virtual void SetTimeLimit( int timeLimit ) |
J# |
---|
public virtual void SetTimeLimit( int timeLimit ) |
JScript |
---|
public virtual
function SetTimeLimit( timeLimit : int ) |
Parameters
- timeLimit
- An
specifying the maximum duration of the query. If unspecified,Integer
is used.ObjectStore.DefaultQueryTimeLimit
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | Thrown when the parameter is or invalid. |