Share via


Remove(System.Guid) Method

The Remove method of the ServerCollection class removes the Server object specified by the serverId parameter from the topology of the server farm.

Parameters

serverId   The GUID representing the primary key of the Server object in the Servers table. No errors are reported for a valid GUID that is not a valid portal site identifier.

Remarks

The Remove method calls the proc_dropServer stored procedure to remove the Server object that has serverId as its primary key value in the Servers table.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security