Compartilhar via


Método Add

Adds a RegisteredServer object to the RegisteredServerCollection collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    registeredServer As RegisteredServer _
)
'Uso
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
)

Parâmetros