SearchServiceApplication.GetContainingDisplayGroups 方法
检索包含指定的搜索范围搜索ScopeDisplayGroup对象的列表。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetContainingDisplayGroups ( _
scopeId As Integer _
) As List(Of Integer)
用法
Dim instance As SearchServiceApplication
Dim scopeId As Integer
Dim returnValue As List(Of Integer)
returnValue = instance.GetContainingDisplayGroups(scopeId)
public List<int> GetContainingDisplayGroups(
int scopeId
)
参数
scopeId
类型:System.Int32搜索ScopeDisplayGroup的 ID。
返回值
类型:System.Collections.Generic.List<Int32>
包含搜索ScopeDisplayGroup的 Id 的列表。
实现
ISearchSiteAdministrationServiceApplication.GetContainingDisplayGroups(Int32)
备注
ScopeId参数的值必须不 null 。