Use this when the scope is multiple object stores. The MergeMode object specifies whether to use the union or intersection of the object stores.

Namespace:  FileNet.Api.Query
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Sub New ( _
	objectStores As IObjectStore(), _
	mergeMode As MergeMode _
)
C#
public SearchScope(
	IObjectStore[] objectStores,
	MergeMode mergeMode
)
Visual C++
public:
SearchScope(
	array<IObjectStore^>^ objectStores, 
	MergeMode mergeMode
)
JavaScript
FileNet.Api.Query.SearchScope = function(objectStores, mergeMode);

Parameters

objectStores
Type: array< FileNet.Api.Core..::.IObjectStore >[]()[]
An array of ObjectStore instances for the repositories to be searched.
mergeMode
Type: FileNet.Api.Constants..::.MergeMode
A MergeMode instance containing the mode (union or intersection) to use.

ToggleSee Also