Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the search scope to be used by the default search provider.
Namespace: Microsoft.Office.DocumentManagement
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Shared Sub SetSearchScope ( _
site As SPSite, _
scope As String _
)
'Usage
Dim site As SPSite
Dim scope As StringDocIdLookup.SetSearchScope(site, scope)
public static void SetSearchScope(
SPSite site,
string scope
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteAn SPSite object that specifies the site for which to set the search scope
scope
Type: System.StringA string that specifies the search scope