Поделиться через


Класс Parameters

Represents a class used by both the package parameters and project parameters collection.

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

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime.Parameters

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

Синтаксис

'Декларация
Public MustInherit Class Parameters _
    Inherits DTSReadOnlyCollectionBase
'Применение
Dim instance As Parameters
public abstract class Parameters : DTSReadOnlyCollectionBase
public ref class Parameters abstract : public DTSReadOnlyCollectionBase
[<AbstractClassAttribute>]
type Parameters =  
    class 
        inherit DTSReadOnlyCollectionBase 
    end
public abstract class Parameters extends DTSReadOnlyCollectionBase

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

Свойства

  Имя Описание
Открытое свойство 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[Int32] Returns a parameter object in the parameters collection with the specified index.
Открытое свойство Item[String] Returns a parameter object in the parameters collection with the specified name.
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Производный от DTSReadOnlyCollectionBase.)

В начало

Методы

  Имя Описание
Открытый метод Add Adds a parameter object to the parameters collection with the specified name and data type.
Открытый метод Contains Determines whether a parameter object with the specified name is contained in the parameters collection.
Открытый метод CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Производный от DTSReadOnlyCollectionBase.)
Защищенный метод CreateManagedObject Инфраструктура. Creates managed object from an unmanaged object. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Защищенный метод GetCount Инфраструктура. Retrieves the number of objects in the collection. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод GetEnumerator Returns an enumerator that can iterate through the DTSReadOnlyCollectionBase instance. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод GetHashCode (Производный от Object.)
Защищенный метод GetManagedEnumerator Инфраструктура. Gets the managed enumerator from an unmanaged enumerator. (Производный от DTSReadOnlyCollectionBase.)
Открытый метод GetType (Производный от Object.)
Открытый метод Insert Inserts a parameter object to the parameters collection with the specified index, name, and data type. Only project parameters can be inserted to the parameters collection.
Открытый метод Join Joins the specified parameter to the parameters collection.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Remove Removes a parameter object from the parameters collection.
Открытый метод RemoveAt Removes a parameter object from the parameters collection with the specified index. Only project parameters can be removed from the parameters collection.
Открытый метод ToString (Производный от Object.)

В начало

Поля

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

В начало

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

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

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime