ServerContext.GetContext method

Gets the ServerContext instance.

Overload list

  Name Description
Public methodStatic member GetContext(SPWebApplication) Gets the ServerContext instance for the specified Web application.
Public methodStatic member GetContext(SPSite) Gets the ServerContext instance for the specified site.
Public methodStatic member GetContext(String) Gets the ServerContext instance for the specified Shared Services Provider.
Public methodStatic member GetContext(HttpContext) Gets the ServerContext instance for the specified HttpContext.

Top

See also

Reference

ServerContext class

ServerContext members

Microsoft.Office.Server namespace