Partager via


Category.QueryCrawledProperties, méthode (Microsoft.Office.Server.Search.Administration)

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

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

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

Paramètres

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

Valeur de retour

An IEnumerator object that can be used to iterate through the collection.

Voir aussi

Référence

Category, classe
Membres Category
Microsoft.Office.Server.Search.Administration, espace de noms