QueryProvider.QueryStatistics Method

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. The Enterprise Search in Microsoft Office SharePoint Server 2007 Query object model is implemented in the Microsoft.Office.Server.Search.Query namespace.

Namespace:  Microsoft.SharePoint.Portal.Search
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Sub QueryStatistics ( _
    strQuery As String, _
    <OutAttribute> ByRef cMaxHits As UInteger, _
    <OutAttribute> ByRef cTotalDocs As UInteger _
)
'Usage
Dim instance As QueryProvider
Dim strQuery As String
Dim cMaxHits As UInteger
Dim cTotalDocs As UInteger

instance.QueryStatistics(strQuery, cMaxHits, _
    cTotalDocs)
public void QueryStatistics(
    string strQuery,
    out uint cMaxHits,
    out uint cTotalDocs
)

Parameters

  • strQuery
    Type: System.String

    This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.

  • cMaxHits
    Type: System.UInt32

    This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.

  • cTotalDocs
    Type: System.UInt32

    This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.

See Also

Reference

QueryProvider Class

QueryProvider Members

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search