Share via


ISecurityTrimmer.Initialize Method

Initializes the custom security trimmer.

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

Syntax

'Declaration
Sub Initialize ( _
    staticProperties As NameValueCollection, _
    searchContext As SearchContext _
)
'Usage
Dim instance As ISecurityTrimmer
Dim staticProperties As NameValueCollection
Dim searchContext As SearchContext

instance.Initialize(staticProperties, _
    searchContext)
void Initialize(
    NameValueCollection staticProperties,
    SearchContext searchContext
)

Parameters

Remarks

The Initialize method executes when the worker process on the Query server starts, and is good for the lifetime of that worker process.

See Also

Reference

ISecurityTrimmer Interface

ISecurityTrimmer Members

Microsoft.Office.Server.Search.Query Namespace

Microsoft.Office.Server.Search.Administration.SearchContext

Other Resources

Custom Security Trimming for Enterprise Search Results Overview

Walkthrough: Using a Custom Security Trimmer for Search Results

Enterprise Search Security Model

Querying Enterprise Search