QueryProvider.Scopes 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. Use the ScopesGetScopesForSite() method instead.

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

Syntax

'Declaration
Public Shared Function Scopes ( _
    strSiteName As String _
) As Array
'Usage
Dim strSiteName As String
Dim returnValue As Array

returnValue = QueryProvider.Scopes(strSiteName)
public static Array Scopes(
    string strSiteName
)

Parameters

  • strSiteName
    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.

Return Value

Type: System.Array

See Also

Reference

QueryProvider Class

QueryProvider Members

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search

Working with Search Scopes