Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases unmanaged resources used by the configuration store object.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overridable Sub Dispose
'Usage
Dim instance As SPMetabaseObject
instance.Dispose()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public virtual void Dispose()
Implements
Remarks
When a managed object uses unmanaged resources such as file handles or database connections, and the managed object is reclaimed, a type must implement the Finalize() method. The SPMetabaseObject requests that the system not call the Finalize() method; instead, the configuration store Active Directory node that corresponds to the object is disposed, and then the parent of the object is disposed if the parent is disposable.