Set the maximum number of rows to retrieve.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
IQuery SetMaxResults( int maxResults ) |
| Visual Basic |
|---|
Function SetMaxResults ( _ maxResults As Integer _ ) As IQuery |
| Visual C++ |
|---|
IQuery^ SetMaxResults( int maxResults ) |
Parameters
- maxResults
- Type: System..::..Int32
The maximum number of rows to retreive.
Return Value
[Missing <returns> documentation for "M:NHibernate.IQuery.SetMaxResults(System.Int32)"]