Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Adds a ServerGroup object to the ServerGroupCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
registeredServer As ServerGroup _
)
'Utilisation
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
)
Paramètres
- registeredServer
Type : Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
A ServerGroup object that is to be added to the ServerGroupCollection object.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers