MSDN Library

LimitFilter class

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

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

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.

Note that the LimitFilter is a hint for the external system. As such, the external system can ignore this value but it is recommended that it enforces it. Thus, the LimitFilter does not necessarily prevent long wait times but rather reduces the possibility of long wait times.

By using a Limit filter, you can prevent long waits, time outs, and bad queries issued by users, which request 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.

Community Additions

© 2015 Microsoft