Compartir a través de


CrawledProperty.GetSamples Method

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

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

Syntax

'Declaration
Public Function GetSamples ( _
    sampleCount As Integer _
) As IEnumerable
'Usage
Dim instance As CrawledProperty
Dim sampleCount As Integer
Dim returnValue As IEnumerable

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

Parameters

  • sampleCount
    Type: System.Int32

    An integer that specifies the number of samples to return.

Return Value

Type: System.Collections.IEnumerable
A System.Collections.IEnumerator object.

See Also

Reference

CrawledProperty Class

CrawledProperty Members

Microsoft.Office.Server.Search.Administration Namespace