ISearchSiteAdministrationServiceApplication.GetScopesForConsumer method
Retrieves a list of information about the Search scopes that are managed by the specified Search scope consumer.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Function GetScopesForConsumer ( _
consumerName As String _
) As List(Of ScopeInfo)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim consumerName As String
Dim returnValue As List(Of ScopeInfo)
returnValue = instance.GetScopesForConsumer(consumerName)
[OperationContractAttribute]
List<ScopeInfo> GetScopesForConsumer(
string consumerName
)
Parameters
consumerName
Type: System.StringThe name of the Search scope consumer.
Return value
Type: System.Collections.Generic.List<ScopeInfo>
The list of information about the Search scopes.
Remarks
Implementing classes should ensure that the value of the consumerName parameter must not be null .
See also
Reference
ISearchSiteAdministrationServiceApplication interface