Share via


SPMetabaseObject.Unprovision method

Destroys the configuration store object.

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

Syntax

'Declaration
Public Sub Unprovision
'Usage
Dim instance As SPMetabaseObject

instance.Unprovision()
public void Unprovision()

Exceptions

Exception Condition
Exception

Unable to Unprovision() configuration store object.

Remarks

This method makes the necessary changes to the local server to reclaim resource allocation while removing the configuration store object. Removing all traces of the presence of a configuration store object differs from deleting an object, because the configuration store object may use unmanaged resources such as file handles or database connections that must be returned to various resource pools.

See also

Reference

SPMetabaseObject class

SPMetabaseObject members

Microsoft.SharePoint.AdministrationOperation namespace

DirectoryEntry

Dispose()