Partilhar via


SearchServiceApplicationProxy.GetScopeInfo Method

Retrieves the information about a Search 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 SearchServiceApplicationProxy
Dim scopeId As Integer
Dim returnValue As ScopeInfo

returnValue = instance.GetScopeInfo(scopeId)
public ScopeInfo GetScopeInfo(
    int scopeId
)

Parameters

  • scopeId
    Type: System.Int32

    The specified ID of the Search scope.

Return Value

Type: Microsoft.Office.Server.Search.Administration.ScopeInfo
The information about the Search scope.

Implements

ISearchSiteAdministrationServiceApplication.GetScopeInfo(Int32)

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

The value of the scopeId parameter must not be null .

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace