ManagedProperty.GetDocumentsFound method

NOTE: This API is now obsolete.

Gets the number of documents found with 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 int GetDocumentsFound(
	ref bool exceedsLimit


Type: System.Boolean

A Boolean value indicating whether to return a number greater than 1000 for the return value.

Return value

Type: System.Int32
A 32-bit integer that indicates the number of documents found.