SPServiceContext class

Represents a context object that encapsulates all the information that is required to make a call to a service application.

System.Object
  Microsoft.SharePoint.SPServiceContext

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public NotInheritable Class SPServiceContext
'Usage
Dim instance As SPServiceContext

Use the SPServiceContext class when making a call to a service application.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: