ConfigPropertyCollection ConfigPropertyCollection ConfigPropertyCollection Class

Definition

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

public ref class ConfigPropertyCollection sealed : System::Collections::ICollection
public sealed class ConfigPropertyCollection : System.Collections.ICollection
Public NotInheritable Class ConfigPropertyCollection
Implements ICollection
Inheritance
ConfigPropertyCollectionConfigPropertyCollectionConfigPropertyCollection
Implements

Examples

Using Collections

Remarks

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

Thread Safety

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

Properties

Count Count Count

Gets the number of ConfigProperty objects in the ConfigPropertyCollection collection.

IsSynchronized IsSynchronized IsSynchronized

Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe.

Item[Int32] Item[Int32] Item[Int32]

Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.

Item[String] Item[String] Item[String]

Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.

SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

CopyTo(ConfigProperty[], Int32) CopyTo(ConfigProperty[], Int32) CopyTo(ConfigProperty[], Int32)

Copies the collection objects to a one-dimensional array starting at the specified index value.

GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumerator that can iterate through the list of objects.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Applies to