Share via


DocIdLookup.SetSearchScope method

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

  • scope
    Type: System.String

    A string that specifies the search scope

See also

Reference

DocIdLookup class

DocIdLookup members

Microsoft.Office.DocumentManagement namespace

DocIdLookup