SPSite.Dispose method
Releases all unmanaged resources that are used by the site collection object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Sub Dispose
'Usage
Dim instance As SPSite
instance.Dispose()
public void Dispose()
The Dispose method calls the Close method.