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.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
程序集:  Microsoft.SqlServer.Exec80PackageTask(在 Microsoft.SqlServer.Exec80PackageTask.dll 中)

语法

声明
Public Class VariablesCollection _
    Implements ICollection, IEnumerable
用法
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

VariablesCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 VariablesCollection Initializes a new instance of VariablesCollection.

页首

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 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 (从 Object 继承。)
受保护方法 Finalize (从 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 (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 LoadFromString Creates and adds one or more elements, from a delimited string, to the end of the collection.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 Remove Removes the element with the specified index from the collection
公共方法 ToString Returns a delimited string that represents the contents of the collection. (覆盖 Object. . :: . .ToString() () () ()。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。