Класс Configurations

Represents a collection of Configuration objects. This class cannot be inherited.

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

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..Configurations

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

Синтаксис

'Декларация
Public NotInheritable Class Configurations _
    Inherits DTSReadOnlyCollectionBase
'Применение
Dim instance As Configurations
public sealed class Configurations : DTSReadOnlyCollectionBase
public ref class Configurations sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type Configurations =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class Configurations extends DTSReadOnlyCollectionBase

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

Свойства

  Имя Описание
Открытое свойство Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Производный от DTSReadOnlyCollectionBase.)
Открытое свойство IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Производный от DTSReadOnlyCollectionBase.)
Открытое свойство Item Returns a Configuration object from the collection.
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Производный от DTSReadOnlyCollectionBase.)

В начало

Методы

  Имя Описание
Открытый метод Add Adds a Configuration object to the end of the collection.
Открытый метод Contains Returns a Boolean that indicates whether the items in the collection can be accessed by an index without throwing an exception.
Открытый метод CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Производный от DTSReadOnlyCollectionBase.)
Защищенный метод CreateManagedObject Инфраструктура. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Защищенный метод GetCount Инфраструктура. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод GetEnumerator Returns an enumerator for iterating over the Configurations collection.
Открытый метод GetHashCode (Производный от Object.)
Защищенный метод GetManagedEnumerator Инфраструктура. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод GetType (Производный от Object.)
Открытый метод InsertAfter Adds a Configuration object into the collection after an existing Configuration object.
Открытый метод InsertBefore Adds a Configuration object into the collection before an existing Configuration object.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод MoveAfter Moves a Configuration object after an existing Configuration object.
Открытый метод MoveBefore Moves a Configuration object in front of an existing Configuration object.
Открытый метод Remove Removes a Configuration object from the Configurations collection.
Открытый метод ToString (Производный от Object.)

В начало

Поля

  Имя Описание
Защищенное поле m_unmanagedColl Инфраструктура. (Производный от DTSReadOnlyCollectionBase.)

В начало

Замечания

The Configurations collection contains Configuration objects, which describe the configuration file type, the location of the configuration information, and the name of the target variable. For more information, see Создание конфигураций пакетов.

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

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