Share via


ISecurityTrimmer2.Initialize method

NOTE: This API is now obsolete.

When implemented in a class, initializes the security trimmer object that is called by the Search query service process.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This method is deprecated, moved to the ISecurityTrimmerPost interface instead.")> _
Sub Initialize ( _
    staticProperties As NameValueCollection, _
    searchApplication As SearchServiceApplication _
)
'Usage
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
)

Parameters

Remarks

This method is called the first time a security trimmer is loaded into the Search query service process.

See also

Reference

ISecurityTrimmer2 interface

ISecurityTrimmer2 members

Microsoft.Office.Server.Search.Query namespace