Share via


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.

Parameters

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.

Remarks

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security