LimitFilter class

Represents a Limit filter in theBusiness Data Connectivity (BDC) service.

Namespace:  Microsoft.SharePoint.BusinessData.Runtime
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class LimitFilter : UserInputFilter

A Limit filter limits the number of external items returned from the external system method to n. When you use this filter, you pass in the number of external items you want returned in an input parameter to the external system method. The external system method then can process the input parameter and return the specified number of external items. SQL supports it with the SELECT TOP clause.

By using a Limit filter, you can prevent long waits, time outs, and bad queries issued by users, whorequest large amounts of data.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.