Query.GetScopes method

Returns information about SharePoint 2010 search scopes, where applicable.

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 representing information about search scopes.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace