다음을 통해 공유


ManagedProperty.GetSamples Method

Returns a collection of sample values for the managed property.

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

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

Parameters

  • sampleCount
    Type: System.Int32

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

Return Value

Type: System.Collections.IEnumerable
An enumerator to iterate through the collection of sample values for the managed property.

See Also

Reference

ManagedProperty Class

ManagedProperty Members

Microsoft.Office.Server.Search.Administration Namespace