Gets/Sets the maximum number of records returned when a QueryFilter is used. This property can be used to limit the number of records returned from a query. Since transaction time increases when more records are returned, limiting the number of records may improve query performance by reducing the transaction time and providing a manageable data portion.
Syntax
Visual Basic (Declaration) | |
---|
Public Property MaxRecords As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As QueryFilter
Dim value As Integer
instance.MaxRecords = value
value = instance.MaxRecords |
C# | |
---|
public int MaxRecords {get; set;} |
Property Value
Maximum number of records returned in a query
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also