Gets the ServerContext instance for the current request.
public static ServerContext Current { get; }
SearchContext srchContext = SearchContext.GetContext(ServerContext.Current);