SPServer.Delete Method

Removes the server and all service instances that are deployed on the server from the server farm.

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

Syntax

'Declaration
Public Overrides Sub Delete
'Usage
Dim instance As SPServer

instance.Delete()
public override void Delete()

Remarks

This operation does not remove the configuration database service. To remove the configuration database service, use SPFarm.Local.Delete().

See Also

Reference

SPServer Class

SPServer Members

Microsoft.SharePoint.Administration Namespace