Share via


Category.QueryCrawledProperties Method

Returns an enumerator that iterates through the category's crawled properties that match the specified parameters.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function QueryCrawledProperties ( _
    filter As String, _
    maxProperties As Integer, _
    lastPropset As Guid, _
    lastPropertyName As String, _
    forwardDirection As Boolean _
) As IEnumerable
'Usage
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
)

Parameters

  • filter
    Type: System.String
    A string that specifies the filter for the crawled properties.
  • maxProperties
    Type: System.Int32
    A 32-bit integer that specifies the maximum number of crawled properties to return.
  • lastPropset
    Type: System.Guid
    A GUID that identifies the last specified property set.
  • lastPropertyName
    Type: System.String
    A string that specifies that last specified crawled property name.
  • forwardDirection
    Type: System.Boolean
    A Boolean value that specifies the direction of the query.

Return Value

Type: System.Collections.IEnumerable
An IEnumerator object that can be used to iterate through the collection.

See Also

Reference

Category Class

Category Members

Microsoft.Office.Server.Search.Administration Namespace