SPServiceContextScope Constructor
Initializes a new instance of the SPServiceContextScopeclass that provides access and change tracking for the specified Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
context As SPServiceContext _
)
'Usage
Dim context As SPServiceContext
Dim instance As New SPServiceContextScope(context)
public SPServiceContextScope(
SPServiceContext context
)
Parameters
- context
Type: Microsoft.SharePoint.SPServiceContext