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);
member this.Add : Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup -> unit
Public Sub Add (registeredServer As ServerGroup)

Parameters

registeredServer
ServerGroup

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

Examples

Using Collections

Applies to