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)
Syntax
'Declaration
<ObsoleteAttribute("Use Query API for this purpose")> _
Public Function GetDocumentsFound ( _
ByRef exceedsLimit As Boolean _
) As Integer
'Usage
Dim instance As ManagedProperty
Dim exceedsLimit As Boolean
Dim returnValue As Integer
returnValue = instance.GetDocumentsFound(exceedsLimit)
[ObsoleteAttribute("Use Query API for this purpose")]
public int GetDocumentsFound(
ref bool exceedsLimit
)
Parameters
exceedsLimit
Type: System.BooleanA 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.