ScopesManager.ConstructScopeFromScopeInfo Method
Creates a Search scope with specified Search scope information.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Function ConstructScopeFromScopeInfo ( _
scopeInfo As ScopeInfo _
) As Scope
'Usage
Dim scopeInfo As ScopeInfo
Dim returnValue As Scope
returnValue = Me.ConstructScopeFromScopeInfo(scopeInfo)
protected Scope ConstructScopeFromScopeInfo(
ScopeInfo scopeInfo
)
Parameters
scopeInfo
Type: Microsoft.Office.Server.Search.Administration.ScopeInfoThe Search scope information.
Return Value
Type: Microsoft.Office.Server.Search.Administration.Scope
A Search scope.
Remarks
This method initializes the Search scope information from scopeInfo.