VariablesCollection Class

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.

Inheritance Hierarchy


Namespace:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly:  Microsoft.SqlServer.Exec80PackageTask (in Microsoft.SqlServer.Exec80PackageTask.dll)


Public Class VariablesCollection _
    Implements ICollection, IEnumerable
Dim instance As VariablesCollection
public class VariablesCollection : ICollection, 
public ref class VariablesCollection : ICollection, 
type VariablesCollection =  
        interface ICollection
        interface IEnumerable
public class VariablesCollection implements ICollection, IEnumerable

The VariablesCollection type exposes the following members.


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



  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.



  Name Description
Public method Add Creates and adds a PkgVariable to the end of the collection.
Public method Clear Removes all elements from the collection.
Public method CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Equals (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 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 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().)


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.