共用方式為


SPMetabaseObject.Dispose Method

Releases unmanaged resources used by the configuration store object.

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.dll)

Syntax

'Declaration
Public Overridable Sub Dispose
'Usage
Dim instance As SPMetabaseObject

instance.Dispose()
public virtual void Dispose()

Implements

IDisposable.Dispose()

Remarks

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.

See Also

Reference

SPMetabaseObject Class

SPMetabaseObject Members

Microsoft.SharePoint.AdministrationOperation Namespace

IDisposable