SearchServiceApplication.GetScopeInfo Method
Retrieves the ScopeInfo for the Scope with the specified ID.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetScopeInfo ( _
scopeId As Integer _
) As ScopeInfo
'Usage
Dim instance As SearchServiceApplication
Dim scopeId As Integer
Dim returnValue As ScopeInfo
returnValue = instance.GetScopeInfo(scopeId)
public ScopeInfo GetScopeInfo(
int scopeId
)
Parameters
scopeId
Type: System.Int32The specified ID of the SearchScope.
Return Value
Type: Microsoft.Office.Server.Search.Administration.ScopeInfo
The information about a SearchScope.
Implements
ISearchSiteAdministrationServiceApplication.GetScopeInfo(Int32)
Remarks
This value of the scopeId parameter must not be null .
See Also
Reference
SearchServiceApplication Class