Set the maximum number of rows to retrieve.

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
IDetachedQuery SetMaxResults(
	int maxResults
)
Visual Basic
Function SetMaxResults ( _
	maxResults As Integer _
) As IDetachedQuery
Visual C++
IDetachedQuery^ SetMaxResults(
	int maxResults
)

Parameters

maxResults
Type: System..::..Int32
The maximum number of rows to retreive.

Return Value

[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetMaxResults(System.Int32)"]

See Also