Freigeben über


VariablesCollection-Klasse

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.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class VariablesCollection _
    Implements ICollection, IEnumerable
'Usage
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

Der VariablesCollection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode VariablesCollection Initializes a new instance of VariablesCollection.

Zum Anfang

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add Creates and adds a PkgVariable to the end of the collection.
Öffentliche Methode Clear Removes all elements from the collection.
Öffentliche Methode CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetElement(Int32) Gets an element with the specified index from the collection.
Öffentliche Methode GetElement(String) Gets an element with the specified name from the collection.
Öffentliche Methode GetEnumerator Returns an enumerator that can iterate through the collection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche MethodeStatisches Element LoadFromString Creates and adds one or more elements, from a delimited string, to the end of the collection.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Remove Removes the element with the specified index from the collection
Öffentliche Methode ToString Returns a delimited string that represents the contents of the collection. (Überschreibt Object. . :: . .ToString() () () ().)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.