Remove(System.Guid) Method

The Remove method of the VirtualServerCollection class removes the VirtualServer object specified by the virtualServerId parameter from the topology of the server farm.


virtualServerId The GUID representing the primary key of the VirtualServer object in the VirtualServers table.

No errors are reported for a valid GUID that is not a valid virtual server identifier.


The Remove method calls the proc_dropVirtualServer stored procedure to remove the VirtualServer object that has virtualServerId as its primary key value in the VirtualServers table.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security