Класс ConfigPropertyCollection

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public NotInheritable Class ConfigPropertyCollection _
    Implements ICollection, IEnumerable
'Применение
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

Тип ConfigPropertyCollection обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство 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.

В начало

Методы

  Имя Описание
Открытый метод CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator Gets an enumerator that can iterate through the list of objects.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICollection. . :: . .CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.

В начало

Замечания

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

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.