Share via


VariablesCollection Members

Include Protected Members
Include Inherited Members

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.

The VariablesCollection type exposes the following members.

Constructors

  Name Description
Public method VariablesCollection() Initializes a new instance of VariablesCollection.

Top

Methods

  Name Description
Public method Add(String, String, Object) Creates and adds a PkgVariable to the end of the collection.
Public method Clear() Removes all elements from the collection.
Public method CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetElement(Int32) Gets an element with the specified index from the collection.
Public method GetElement(String) Gets an element with the specified name from the collection.
Public method GetEnumerator() Returns an enumerator that can iterate through the collection.
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public methodStatic member LoadFromString(String) Creates and adds one or more elements, from a delimited string, to the end of the collection.
Protected method MemberwiseClone() (Inherited from Object.)
Public method Remove(Int32) Removes the element with the specified index from the collection
Public method ToString() Returns a delimited string that represents the contents of the collection. (Overrides Object.ToString().)

Top

Properties

  Name Description
Public property Count Gets the number of elements contained in the collection.
Public property IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top