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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。