LimitFilter class

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

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.Office.BusinessData.Runtime.FilterBase
      Microsoft.Office.BusinessData.Runtime.UserInputFilter
        Microsoft.Office.BusinessData.Runtime.LimitFilter

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

Syntax

'Declaration
Public NotInheritable Class LimitFilter _
    Inherits UserInputFilter
'Usage
Dim instance As LimitFilter
public sealed class LimitFilter : UserInputFilter

Remarks

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.

Thread safety

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

See also

Reference

LimitFilter members

Microsoft.Office.BusinessData.Runtime namespace