RegisteredServerCollection.Add Method

Adds a RegisteredServer object to the RegisteredServerCollection collection.

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Sub Add ( _
    registeredServer As RegisteredServer _
)
'Usage
Dim instance As RegisteredServerCollection
Dim registeredServer As RegisteredServer

instance.Add(registeredServer)
public void Add(
    RegisteredServer registeredServer
)
public:
void Add(
    RegisteredServer^ registeredServer
)
member Add : 
        registeredServer:RegisteredServer -> unit 
public function Add(
    registeredServer : RegisteredServer
)

Parameters