共用方式為


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)
Available in Sandboxed Solutions: No

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