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