SearchServiceApplicationProxy.GetScopes method

Returns the information about the Search scopes 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 SearchServiceApplicationProxy
Dim properties As QueryProperties
Dim returnValue As ScopeInformation()

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

Parameters

Return value

Type: []
The information about the Search scopes.

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

The identifier of the Search scope consumer is specified by the SiteId property of the properties parameter.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace