SPGlobalAdmin.DeleteAdminVirtualServer method
NOTE: This API is now obsolete.
Use the Unprovision method of the SPWebServiceInstance class to remove the Web service from the server. (In Windows SharePoint Services 2.0, the DeleteAdminVirtualServer method was used to delete the administration virtual server, and is maintained for backward compatibility.)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("DeleteAdminVirtualServer is obsolete. Call SPWebServiceInstance.LocalAdministration.Unprovision() instead.", _
False)> _
Public Sub DeleteAdminVirtualServer
'Usage
Dim instance As SPGlobalAdmin
instance.DeleteAdminVirtualServer()
[ObsoleteAttribute("DeleteAdminVirtualServer is obsolete. Call SPWebServiceInstance.LocalAdministration.Unprovision() instead.",
false)]
public void DeleteAdminVirtualServer()