Category.QueryCrawledProperties 方法

返回一个枚举数循环访问该类别的已爬网属性匹配指定的参数。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function QueryCrawledProperties ( _
    filter As String, _
    maxProperties As Integer, _
    lastPropset As Guid, _
    lastPropertyName As String, _
    forwardDirection As Boolean _
) As IEnumerable
用法
Dim instance As Category
Dim filter As String
Dim maxProperties As Integer
Dim lastPropset As Guid
Dim lastPropertyName As String
Dim forwardDirection As Boolean
Dim returnValue As IEnumerable

returnValue = instance.QueryCrawledProperties(filter, _
    maxProperties, lastPropset, lastPropertyName, _
    forwardDirection)
public IEnumerable QueryCrawledProperties(
    string filter,
    int maxProperties,
    Guid lastPropset,
    string lastPropertyName,
    bool forwardDirection
)

参数

  • filter
    类型:System.String

    一个字符串,指定的已爬网属性的筛选器。

  • maxProperties
    类型:System.Int32

    32 位整数,它指定要返回的已爬网属性的最大数量。

  • lastPropset
    类型:System.Guid

    标识最后一个指定的属性集的 GUID。

  • lastPropertyName
    类型:System.String

    提供最后一次指定的已爬网的属性名称的字符串。

  • forwardDirection
    类型:System.Boolean

    一个布尔值,该值指示查询的方向。

返回值

类型:System.Collections.IEnumerable
IEnumerator对象,该对象可用于循环访问集合。

另请参阅

引用

Category 类

Category 成员

Microsoft.Office.Server.Search.Administration 命名空间