SearchContext::GetContext method (ServerContext)
SharePoint 2013
NOTE: This API is now obsolete.
Gets the search context instance for the ServerContext object.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Parameters
- serverContext
- Type: Microsoft.Office.Server.ServerContext
A ServerContext object representing the server context for the Shared Services Provider.
Return value
Type: Microsoft.Office.Server.Search.Administration.SearchContextA SearchContext object representing the search context for the Shared Services Provider.
For more information about the SearchContext class and the SharePoint Enterprise Search Administration object model, see Getting Started with the Search Administration Object Model and How to: Return the Search Context for the Search Service Provider.
Show: