Partager via


CrawledProperty.GetSamples, méthode (Microsoft.Office.Server.Search.Administration)

Returns an enumerator that supports iterating through a collection of crawled property samples.

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

Syntaxe

'Déclaration
Public Function GetSamples ( _
    sampleCount As Integer _
) As IEnumerable
'Utilisation
Dim instance As CrawledProperty
Dim sampleCount As Integer
Dim returnValue As IEnumerable

returnValue = instance.GetSamples(sampleCount)
public IEnumerable GetSamples (
    int sampleCount
)

Paramètres

  • sampleCount
    An integer that specifies the number of samples to return.

Valeur de retour

A System.Collections.IEnumerator object.

Voir aussi

Référence

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