SearchServiceApplication.GetUnusedScopesForConsumer 方法
返回一个DisplayGroupInfo对象的列表以及每个对象是与Scope相关联。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetUnusedScopesForConsumer ( _
consumerName As String _
) As List(Of ScopeInfo)
用法
Dim instance As SearchServiceApplication
Dim consumerName As String
Dim returnValue As List(Of ScopeInfo)
returnValue = instance.GetUnusedScopesForConsumer(consumerName)
public List<ScopeInfo> GetUnusedScopesForConsumer(
string consumerName
)
参数
consumerName
类型:System.String搜索Scope使用者名称。
返回值
类型:System.Collections.Generic.List<ScopeInfo>
列表中包含ScopeInfo为每个关联对象。
实现
ISearchSiteAdministrationServiceApplication.GetUnusedScopesForConsumer(String)
备注
ConsumerName参数的值必须不 null 。
由使用者不是与搜索ScopeDisplayGroup管理的Scope对象的列表。