ConfigPropertyCollection Class
The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
Inheritance Hierarchy
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
The ConfigPropertyCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of ConfigProperty objects in the ConfigPropertyCollection collection. | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread safe. | |
Item[Int32] | Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number. | |
Item[String] | Gets a ConfigProperty object in the ConfigPropertyCollection collection by name. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Top
Methods
Name | Description | |
---|---|---|
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.