SPServiceContextScope.Dispose method
Releases all unmanaged resources that are used by the SPServiceContextScopeobject.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As SPServiceContextScope
instance.Dispose()
public void Dispose()