ServerGroupCollection.Add(ServerGroup) ServerGroupCollection.Add(ServerGroup) ServerGroupCollection.Add(ServerGroup) Method

Definition

Adds a ServerGroup object to the ServerGroupCollection collection.

public:
 void Add(Microsoft::SqlServer::Management::Smo::RegisteredServers::ServerGroup ^ registeredServer);
public void Add (Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup registeredServer);
Public Sub Add (registeredServer As ServerGroup)
Parameters
registeredServer
ServerGroup ServerGroup ServerGroup

A ServerGroup object that is to be added to the ServerGroupCollection object.

Examples

Using Collections

Applies to