Share via


Query.GetScopes Method

Returns information about search scopes.

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

Syntax

'Declaration
Public Function GetScopes As ScopeInformation()
'Usage
Dim instance As Query
Dim returnValue As ScopeInformation()

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

Return Value

Type: []
An array of ScopeInformation objects.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace