Share via


ISearchSiteAdministrationServiceApplication.GetUnusedScopesForConsumer method

Retrieves a list of information about all scopes for a scope consumer that are not in a display group.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetUnusedScopesForConsumer ( _
    consumerName As String _
) As List(Of ScopeInfo)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim consumerName As String
Dim returnValue As List(Of ScopeInfo)

returnValue = instance.GetUnusedScopesForConsumer(consumerName)
[OperationContractAttribute]
List<ScopeInfo> GetUnusedScopesForConsumer(
    string consumerName
)

Parameters

Return value

Type: System.Collections.Generic.List<ScopeInfo>
The list of information about all scopes for a consumer that are not in a display group.

Remarks

Implementing classes should ensure that the value of the consumerName parameter must not be null .

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace