PluggableSecurityTrimmerManager.SetSearchContextToUse 方法

请注意:此 API 现在已过时。

设置搜索上下文的PluggableSecurityTrimmerManager对象。

命名空间:  Microsoft.Office.Server.Search.Administration.Security
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<ObsoleteAttribute("This method is deprecated. Use SetSearchApplicationToUse(SearchServiceApplication searchApp) instead.")> _
Public Sub SetSearchContextToUse ( _
    searchContextToUse As SearchContext _
)
用法
Dim instance As PluggableSecurityTrimmerManager
Dim searchContextToUse As SearchContext

instance.SetSearchContextToUse(searchContextToUse)
[ObsoleteAttribute("This method is deprecated. Use SetSearchApplicationToUse(SearchServiceApplication searchApp) instead.")]
public void SetSearchContextToUse(
    SearchContext searchContextToUse
)

参数

另请参阅

引用

PluggableSecurityTrimmerManager 类

PluggableSecurityTrimmerManager 成员

Microsoft.Office.Server.Search.Administration.Security 命名空间