ManagedProperty.GetSamples method

NOTE: This API is now obsolete.

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)

[ObsoleteAttribute("Use Query API for this purpose")]
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.
Show: