Classe ConfigPropertyCollection

The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..ConfigPropertyCollection

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ConfigPropertyCollection _
    Implements ICollection, IEnumerable
'Utilisation
Dim instance As ConfigPropertyCollection
public sealed class ConfigPropertyCollection : ICollection, 
    IEnumerable
public ref class ConfigPropertyCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
type ConfigPropertyCollection =  
    class
        interface ICollection
        interface IEnumerable
    end
public final class ConfigPropertyCollection implements ICollection, IEnumerable

Le type ConfigPropertyCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of ConfigProperty objects in the ConfigPropertyCollection collection.
Propriété publique IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe.
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.
Propriété publique Item[ ( [ ( String] ) ] ) Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the collection.

Haut de la page

Méthodes

  Nom Description
Méthode publique CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Gets an enumerator that can iterate through the list of objects.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICollection. . :: . .CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.

Haut de la page

Notes

A ConfigPropertyCollection object can be used to gain access to a set of configuration properties. You can use the Item property to return a specific ConfigProperty object.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.