Share via


SPGlobalAdmin.DeleteConfigDB method

NOTE: This API is now obsolete.

Use the Unjoin method of the SPFarm class to remove the local server from the server farm instead. (In Windows SharePoint Services 2.0, the DeleteConfigDB method was used to delete the configuration database and all associated information, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPFarm.UnJoin()instead.", False)> _
Public Sub DeleteConfigDB
'Usage
Dim instance As SPGlobalAdmin

instance.DeleteConfigDB()
[ObsoleteAttribute("Use SPFarm.UnJoin()instead.", false)]
public void DeleteConfigDB()

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace