다음을 통해 공유


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.String

    The 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

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace