Share via


ServerContext.GetContext Method

Include Protected Members
Include Inherited Members

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