ServerGroupCollection Class

The ServerGroupCollection class represents a collection of ServerGroup objects that represent all the server groups that are defined on the parent object.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public NotInheritable Class ServerGroupCollection _
    Inherits SfcCollatedDictionaryCollection(Of ServerGroup, ServerGroup..::..Key, ServerGroupParent)
'Usage
Dim instance As ServerGroupCollection
public sealed class ServerGroupCollection : SfcCollatedDictionaryCollection<ServerGroup, ServerGroup..::..Key, ServerGroupParent>
public ref class ServerGroupCollection sealed : public SfcCollatedDictionaryCollection<ServerGroup^, ServerGroup..::..Key^, ServerGroupParent^>
[<SealedAttribute>]
type ServerGroupCollection =  
    class
        inherit SfcCollatedDictionaryCollection<ServerGroup, ServerGroup..::..Key, ServerGroupParent>
    end
public final class ServerGroupCollection extends SfcCollatedDictionaryCollection<ServerGroup, ServerGroup..::..Key, ServerGroupParent>

Remarks

A ServerGroupCollection object can be used to gain access to a set of check constraints. You can use the Item() property to return a specific ServerGroup object.

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

Inheritance Hierarchy

System.Object
  SfcCollection<ServerGroup, ServerGroup.Key, ServerGroupParent>
    SfcCollatedDictionaryCollection<ServerGroup, ServerGroup.Key, ServerGroupParent>
      Microsoft.SqlServer.Management.RegisteredServers.ServerGroupCollection

Thread Safety

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