DocIdLookup.GetSearchScope Method
Gets the search scope used by the built-in search provider.
Namespace: Microsoft.Office.DocumentManagement
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Shared Function GetSearchScope ( _
site As SPSite _
) As String
'Usage
Dim site As SPSite
Dim returnValue As String
returnValue = DocIdLookup.GetSearchScope(site)
public static string GetSearchScope(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteSPSite object that specifies the site for which to get the search scope
Return Value
Type: System.String
Returns String.