Share via


ServerGroupBase.ServerGroups Property

Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.

Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Property ServerGroups As ServerGroupCollection
public ServerGroupCollection ServerGroups { get; }
public:
property ServerGroupCollection^ ServerGroups {
    ServerGroupCollection^ get ();
}
/** @property */
public ServerGroupCollection get_ServerGroups ()
public function get ServerGroups () : ServerGroupCollection

Property Value

A ServerGroupCollection object that represents all the server groups that are included in the parent server group.

Remarks

A server group can exist within a server group, thus creating a hierarchy of server groups.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ServerGroupBase Class
ServerGroupBase Members
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

Managing Registered Servers