Condividi tramite


Classe ServerGroupCollection

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

Spazio dei nomi:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ServerGroupCollection _
    Inherits SfcCollatedDictionaryCollection(Of ServerGroup, ServerGroup..::..Key, ServerGroupParent)
'Utilizzo
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>

Osservazioni

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.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Gerarchia di ereditarietà

System. . :: . .Object
  SfcCollection< (Of < ( <'ServerGroup, ServerGroup. . :: . .Key, ServerGroupParent> ) > ) >
    SfcCollatedDictionaryCollection< (Of < ( <'ServerGroup, ServerGroup. . :: . .Key, ServerGroupParent> ) > ) >
      Microsoft.SqlServer.Management.RegisteredServers..::..ServerGroupCollection

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.