ConfigPropertyCollection-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class ConfigPropertyCollection _
    Implements ICollection, IEnumerable
'Usage
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

Der ConfigPropertyCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetEnumerator Gets an enumerator that can iterate through the list of objects.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICollection. . :: . .CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.

Zum Anfang

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.