Share via


Add(Microsoft.SharePoint.Portal.Topology.VirtualServer) Method

The Add method of the VirtualServerCollection class adds the specified VirtualServer object to the collection.

Parameters

virtualServer   A Microsoft.SharePoint.Portal.Topology.VirtualServer.

Return Value

The Microsoft.SharePoint.Portal.Topology.VirtualServer added to the collection.

Remarks

The Add method calls the proc_putVirtualServer stored procedure to add the VirtualServer instance to the VirtualServers table, by populating the columns of a new record with the properties of the virtualServer argument.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security