Compartilhar via


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.

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public Class VariablesCollection _
    Implements ICollection, IEnumerable
'Uso
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

O tipo VariablesCollection expõe os membros a seguir.

Construtores

  Nome Descrição
Método público VariablesCollection Initializes a new instance of VariablesCollection.

Início

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of elements contained in the collection.
Propriedade pública IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the collection.

Início

Métodos

  Nome Descrição
Método público Add Creates and adds a PkgVariable to the end of the collection.
Método público Clear Removes all elements from the collection.
Método público CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetElement(Int32) Gets an element with the specified index from the collection.
Método público GetElement(String) Gets an element with the specified name from the collection.
Método público GetEnumerator Returns an enumerator that can iterate through the collection.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método públicoMembro estático LoadFromString Creates and adds one or more elements, from a delimited string, to the end of the collection.
Método protegido MemberwiseClone (Herdado de Object.)
Método público Remove Removes the element with the specified index from the collection
Método público ToString Returns a delimited string that represents the contents of the collection. (Substitui Object. . :: . .ToString() () () ().)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.