SPFarm.Unjoin method
Removes the local server from the farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Unjoin
'Usage
Dim instance As SPFarm
instance.Unjoin()
public void Unjoin()