Sets the maximum number of rows that can be returned in the result set. When unspecified, all records that satisfy the query will be returned, subject to the limit of the
property
.
Namespace: FileNet.Api.Query
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Sub SetMaxRecords( _ ByVal maxRecords As Integer _ ) |
C# |
---|
public virtual void SetMaxRecords( int maxRecords ) |
C++ |
---|
public: virtual void SetMaxRecords( int maxRecords ) |
J# |
---|
public virtual void SetMaxRecords( int maxRecords ) |
JScript |
---|
public virtual
function SetMaxRecords( maxRecords : int ) |
Parameters
- maxRecords
- An
specifying the maximum number of rows to be returned. If unspecified, the limit is determined byInteger
.IServerCacheConfiguration.NonPagedQueryMaxSize
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | Thrown when the parameter is or invalid. |