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


Класс VariablesCollection

Contains a collection of PkgVariable objects, representing the inner or outer variables of a Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.

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

System. . :: . .Object
  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask..::..VariablesCollection

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

Синтаксис

'Декларация
Public Class VariablesCollection _
    Implements ICollection, IEnumerable
'Применение
Dim instance As VariablesCollection
public class VariablesCollection : ICollection, 
    IEnumerable
public ref class VariablesCollection : ICollection, 
    IEnumerable
type VariablesCollection =  
    class
        interface ICollection
        interface IEnumerable
    end
public class VariablesCollection implements ICollection, IEnumerable

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

Конструкторы

  Имя Описание
Открытый метод VariablesCollection Initializes a new instance of VariablesCollection.

В начало

Свойства

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

В начало

Методы

  Имя Описание
Открытый метод Add Creates and adds a PkgVariable to the end of the collection.
Открытый метод Clear Removes all elements from the collection.
Открытый метод CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetElement(Int32) Gets an element with the specified index from the collection.
Открытый метод GetElement(String) Gets an element with the specified name from the collection.
Открытый метод GetEnumerator Returns an enumerator that can iterate through the collection.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый методСтатический элемент LoadFromString Creates and adds one or more elements, from a delimited string, to the end of the collection.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Remove Removes the element with the specified index from the collection
Открытый метод ToString Returns a delimited string that represents the contents of the collection. (Переопределяет Object. . :: . .ToString() () () ().)

В начало

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

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