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 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。