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 | |
---|---|---|
VariablesCollection | Initializes a new instance of VariablesCollection. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Count | Gets the number of elements contained in the collection. | |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread-safe). | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Add | Creates and adds a PkgVariable to the end of the collection. | |
Clear | Removes all elements from the collection. | |
CopyTo | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetElement(Int32) | Gets an element with the specified index from the collection. | |
GetElement(String) | Gets an element with the specified name from the collection. | |
GetEnumerator | Returns an enumerator that can iterate through the collection. | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
LoadFromString | Creates and adds one or more elements, from a delimited string, to the end of the collection. | |
MemberwiseClone | (Herdado de Object.) | |
Remove | Removes the element with the specified index from the collection | |
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.