Export (0) Print
Expand All

ConfigPropertyCollection Class

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

Object
  Microsoft.SqlServer.Management.Smo.ConfigPropertyCollection

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

[DefaultMemberAttribute("Item")]
public sealed class ConfigPropertyCollection : ICollection, 
	IEnumerable

The ConfigPropertyCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ConfigProperty objects in the ConfigPropertyCollection collection.
Public propertyIsSynchronizedGets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe.
Public propertyItem[Int32]Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.
Public propertyItem[String]Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.
Public propertySyncRootGets an object that can be used to synchronize access to the collection.
Top

  NameDescription
Public methodCopyToCopies the collection objects to a one-dimensional array starting at the specified index value.
Public methodEquals (Inherited from Object.)
Public methodGetEnumeratorGets an enumerator that can iterate through the list of objects.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollectionCopyToCopies the collection objects to a one-dimensional array beginning at the index value specified.
Top

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

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft