Método Add
Adds a ServerGroup object to the ServerGroupCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)
Sintaxe
'Declaração
Public Sub Add ( _
registeredServer As ServerGroup _
)
'Uso
Dim instance As ServerGroupCollection
Dim registeredServer As ServerGroup
instance.Add(registeredServer)
public void Add(
ServerGroup registeredServer
)
public:
void Add(
ServerGroup^ registeredServer
)
member Add :
registeredServer:ServerGroup -> unit
public function Add(
registeredServer : ServerGroup
)
Parâmetros
- registeredServer
Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .ServerGroup
A ServerGroup object that is to be added to the ServerGroupCollection object.
Consulte também