Partager via


ServerGroup Class

The ServerGroup object represents a group of Microsoft SQL Server registered servers.

Espace de noms: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServerGroup
    Inherits ServerGroupBase
public sealed class ServerGroup : ServerGroupBase
public ref class ServerGroup sealed : public ServerGroupBase
public final class ServerGroup extends ServerGroupBase
public final class ServerGroup extends ServerGroupBase

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

To get or set ServerGroup object properties, users must be a member of the sysadmin fixed server role.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject
       Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupBase
        Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ServerGroup Members
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Autres ressources

Gestion des serveurs inscrits
sp_ActiveDirectory_SCP (Transact-SQL)