Share via


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)

Syntax

'Declaration
Public Sub New ( _
    context As SPServiceContext _
)
'Usage
Dim context As SPServiceContext

Dim instance As New SPServiceContextScope(context)
public SPServiceContextScope(
    SPServiceContext context
)

Parameters

See also

Reference

SPServiceContextScope class

SPServiceContextScope members

Microsoft.SharePoint namespace