Classe 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.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly :  Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)

Syntaxe

'Déclaration
Public Class VariablesCollection _
    Implements ICollection, IEnumerable
'Utilisation
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

Le type VariablesCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique VariablesCollection Initializes a new instance of VariablesCollection.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Add Creates and adds a PkgVariable to the end of the collection.
Méthode publique Clear Removes all elements from the collection.
Méthode publique CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetElement(Int32) Gets an element with the specified index from the collection.
Méthode publique GetElement(String) Gets an element with the specified name from the collection.
Méthode publique GetEnumerator Returns an enumerator that can iterate through the collection.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publiqueMembre statique LoadFromString Creates and adds one or more elements, from a delimited string, to the end of the collection.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove Removes the element with the specified index from the collection
Méthode publique ToString Returns a delimited string that represents the contents of the collection. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.