ISecurityTrimmer2.Initialize 方法

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

一个类中实现时,初始化安全哪些对象,该对象由搜索查询服务过程。

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

语法

声明
<ObsoleteAttribute("This method is deprecated, moved to the ISecurityTrimmerPost interface instead.")> _
Sub Initialize ( _
    staticProperties As NameValueCollection, _
    searchApplication As SearchServiceApplication _
)
用法
Dim instance As ISecurityTrimmer2
Dim staticProperties As NameValueCollection
Dim searchApplication As SearchServiceApplication

instance.Initialize(staticProperties, _
    searchApplication)
[ObsoleteAttribute("This method is deprecated, moved to the ISecurityTrimmerPost interface instead.")]
void Initialize(
    NameValueCollection staticProperties,
    SearchServiceApplication searchApplication
)

参数

备注

这种方法称为安全裁边器加载到搜索查询服务进程第一次。

另请参阅

引用

ISecurityTrimmer2 接口

ISecurityTrimmer2 成员

Microsoft.Office.Server.Search.Query 命名空间