Partilhar via


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

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

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace