UnextendVirtualServer(System.Uri, Boolean) Method
The UnextendVirtualServer method of the SPGlobalAdmin class removes Microsoft Windows SharePoint Services from the server specified by a URI.
Parameters
uri An absolute URI that specifies the server.
bDropContentDb true to also delete the content database; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security