Share via


SearchContext.GetContext method

NOTE: This API is now obsolete.

Gets the search context instance.

Overload list

  Name Description
Public methodStatic member GetContext(ServerContext) Obsolete. Gets the search context instance for the ServerContext object.
Public methodStatic member GetContext(SPSite) Obsolete. Gets the search context instance for the specified SPSite object.
Public methodStatic member GetContext(String) Obsolete. Gets the search context instance for the specified search application name.
Public methodStatic member GetContext(SearchServiceApplication) Obsolete.
Public methodStatic member GetContext(SearchServiceApplication, Boolean) Obsolete.

Top

See also

Reference

SearchContext class

SearchContext members

Microsoft.Office.Server.Search.Administration namespace