ISecurityTrimmer2.Initialize Method
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
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)
void Initialize(
NameValueCollection staticProperties,
SearchServiceApplication searchApplication
)
Parameters
staticProperties
Type: System.Collections.Specialized.NameValueCollectionThe name/value pairs that are used to initialize the security class properties.
searchApplication
Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplicationThe Search service application to which this security trimmer object applies.
Remarks
This method is called the first time a security trimmer is loaded into the Search query service process.