Share via


SPServiceContext.GetContext Method

Include Protected Members
Include Inherited Members

Gets the service context, using the specified parameters.

Overload List

  Name Description
Public methodStatic member GetContext(HttpContext) Gets the service context that is associated with the specified HttpContext object.
Public methodStatic member GetContext(SPSite) Gets the service context for the specified SPSite object.
Public methodStatic member GetContext(SPServiceApplicationProxyGroup, SPSiteSubscriptionIdentifier) Retrieves the service context that is associated with the specified SPServiceApplicationProxyGroup instance and SPSiteSubscriptionIdentifier.

Top

See Also

Reference

SPServiceContext Class

SPServiceContext Members

Microsoft.SharePoint Namespace