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
- registeredServer
Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegisteredServer
A RegisteredServer object that is to be added to the RegisteredServerCollection object.
Consulte também