PluggableSecurityTrimmerManager.SetSearchContextToUse Method
NOTE: This API is now obsolete.
Sets a search context for the PluggableSecurityTrimmerManager object.
Namespace: Microsoft.Office.Server.Search.Administration.Security
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method is deprecated. Use SetSearchApplicationToUse(SearchServiceApplication searchApp) instead.")> _
Public Sub SetSearchContextToUse ( _
searchContextToUse As SearchContext _
)
'Usage
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
)
Parameters
searchContextToUse
Type: Microsoft.Office.Server.Search.Administration.SearchContextA SearchContext object.
See Also
Reference
PluggableSecurityTrimmerManager Class
PluggableSecurityTrimmerManager Members
Microsoft.Office.Server.Search.Administration.Security Namespace