Share via


SearchServiceApplication.GetScopes Method

Returns the SearchScopeInformation for the Search scope consumer.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetScopes ( _
    properties As QueryProperties _
) As ScopeInformation()
'Usage
Dim instance As SearchServiceApplication
Dim properties As QueryProperties
Dim returnValue As ScopeInformation()

returnValue = instance.GetScopes(properties)
public ScopeInformation[] GetScopes(
    QueryProperties properties
)

Parameters

Return Value

Type: []
The information about Search scopes.

Remarks

The identifier of the Search scope consumer is specified by the SiteIdproperties parameter.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace