Share via


UserInputFilter 类 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Provides a base class for all User Input filters in the Business Data Catalog.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public MustInherit Class UserInputFilter
    Inherits FilterBase
用法
Dim instance As UserInputFilter
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public abstract class UserInputFilter : FilterBase

备注

There are two kinds of filters in the Business Data Catalog:

  • User Input filters

  • System filters

  • User Input filters require users to provide filter values such as the Comparison, Limit and the Wildcard filters.

  • System filters are system-provided. Following are the User Input filters that Business Data Catalog supports:

  • Limit filter   Limits the number of instances returned to n. SQL supports this filter with the SELECT TOP clause. By using a Limit filter, you can prevent long waits, time outs, and users from issuing bad queries that request large amounts of data.

  • Comparison filter   Takes an operator and a condition and returns only the instances that meet the condition.

  • Wildcard filter   Limits the instances returned to those where field like value, where value may contain the asterisk (*) wildcard character. Users can use this filter type to present more user-friendly filters such as "starts with" and "contains".

继承层次结构

System.Object
   Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterBase
    Microsoft.Office.Server.ApplicationRegistry.Runtime.UserInputFilter
       Microsoft.Office.Server.ApplicationRegistry.Runtime.ComparisonFilter
       Microsoft.Office.Server.ApplicationRegistry.Runtime.LimitFilter

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

UserInputFilter 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间