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
properties
Type: Microsoft.Office.Server.Search.Query.QueryPropertiesThe properties of the query.
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