Share via


ISearchParameters.Scope property

Gets or sets the search query parameter specified as the Scope for performing search.

Namespace:  Microsoft.Office.RecordsManagement.SearchAndProcess
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Property Scope As String
    Get
    Set
'Usage
Dim instance As ISearchParameters
Dim value As String

value = instance.Scope

instance.Scope = value
string Scope { get; set; }

Property value

Type: System.String
Returns String.

Remarks

This property represents the different scopes to search for that can be defined on the search provider. For example, you can specify a search scope called “buildings” that can be interpreted as trying to search for buildings that satisfy the search criteria.

See also

Reference

ISearchParameters interface

ISearchParameters members

Microsoft.Office.RecordsManagement.SearchAndProcess namespace