ServerGroupCollection.Add(ServerGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.