Partager via


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

Returns a collection of sample values for the managed property.

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 ManagedProperty
Dim sampleCount As Integer
Dim returnValue As IEnumerable

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

Paramètres

  • sampleCount
    A 32-bit integer that indicates the number of sample values to return.

Valeur de retour

An enumerator to iterate through the collection of sample values for the managed property.

Voir aussi

Référence

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