ServerGroupBase.ServerGroups 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.RegisteredServers
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
Public ReadOnly Property ServerGroups As ServerGroupCollection 
    Get
用法
Dim instance As ServerGroupBase 
Dim value As ServerGroupCollection 

value = instance.ServerGroups
public ServerGroupCollection ServerGroups { get; }
public:
property ServerGroupCollection^ ServerGroups {
    ServerGroupCollection^ get ();
}
member ServerGroups : ServerGroupCollection
function get ServerGroups () : ServerGroupCollection

属性值

类型:Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupCollection
A ServerGroupCollection object that represents all the server groups that are included in the parent server group.

注释

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

请参阅

参考

ServerGroupBase 类

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空间

其他资源

管理已注册的服务器