UnextendVirtualServer(Microsoft.SharePoint.Administration.SPVirtualServer, Boolean) Method
The UnextendVirtualServer method of the SPGlobalAdmin class removes Microsoft Windows SharePoint Services from the specified virtual server.
Parameters
vs A Microsoft.SharePoint.Administration.SPVirtualServer object that represents the server from which to remove Windows SharePoint Services.
bDropContentDb true to also delete the content database; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security