SPMetabaseObject.Unprovision Method

Destroys the configuration store object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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.Administration Namespace

DirectoryEntry

Dispose()