PluggableSecurityTrimmerManager.GetSearchContextToUse Method
NOTE: This API is now obsolete.
Gets the search service instance.
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 GetSearchApplicationToUse() instead.")> _
Public Function GetSearchContextToUse As SearchContext
'Usage
Dim instance As PluggableSecurityTrimmerManager
Dim returnValue As SearchContext
returnValue = instance.GetSearchContextToUse()
[ObsoleteAttribute("This method is deprecated. Use GetSearchApplicationToUse() instead.")]
public SearchContext GetSearchContextToUse()
Return Value
Type: Microsoft.Office.Server.Search.Administration.SearchContext
A SearchContext object representing the current search service instance.
See Also
Reference
PluggableSecurityTrimmerManager Class
PluggableSecurityTrimmerManager Members
Microsoft.Office.Server.Search.Administration.Security Namespace