The management group represents the data store and the management servers as a whole. When connecting to a management group, you specify a management server name when you create the connection by instantiating the EnterpriseManagementGroup class. All the objects contained in that management group are accessed through this class.
The management group object represents your code-based connection to the Service Manager management group. This connection can be created by using specific credentials or the executing credentials of the current program. The management group object enables you to query and explore the management group. The objects that result from querying or exploring can be manipulated if the credentials have sufficient permissions.
If your infrastructure contains more than one management group, you will have to connect to them with separate EnterpriseManagementGroup objects. Therefore, if you change one management group’s data, those changes are not carried over to other management groups.