次の方法で共有


LimitFilter class

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

Inheritance hierarchy

System.MarshalByRefObject
  Microsoft.SharePoint.BusinessData.Runtime.FilterBase
    Microsoft.SharePoint.BusinessData.Runtime.UserInputFilter
      Microsoft.SharePoint.BusinessData.Runtime.LimitFilter

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class LimitFilter _
    Inherits UserInputFilter
'Usage
Dim instance As LimitFilter
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
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. 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.

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.SharePoint.BusinessData.Runtime namespace