Share via


ServerContext members

Provides run-time methods for shared services in Microsoft Office SharePoint Server 2007. This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. Use SPServiceContext instead.

The ServerContext type exposes the following members.

Properties

  Name Description
Public propertyStatic member Current Gets the ServerContext instance for the current request.
Public propertyStatic member Default Gets the default ServerContext instance for the local server farm.
Public property Status Gets the status of the ServerContext object.

Top

Methods

  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

Microsoft.Office.Server namespace