PackageItems 類別

Contains a collection of PackageItem objects.

繼承階層

System.Object
  Microsoft.SqlServer.Dts.Runtime.PackageItems

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class PackageItems _
    Implements IEnumerable(Of PackageItem), IEnumerable
'用途
Dim instance As PackageItems
public sealed class PackageItems : IEnumerable<PackageItem>, 
    IEnumerable
public ref class PackageItems sealed : IEnumerable<PackageItem^>, 
    IEnumerable
[<SealedAttribute>]
type PackageItems =  
    class 
        interface IEnumerable<PackageItem>
        interface IEnumerable 
    end
public final class PackageItems implements IEnumerable<PackageItem>, IEnumerable

PackageItems 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Count Gets the number of PackageItem contained in the PackageItems collection.
公用屬性 Item[Int32] Returns a PackageItem object from the PackageItems collection with specified index.
公用屬性 Item[String] Returns a PackageItem object from the PackageItems collection with specified stream name.

上層

方法

  名稱 說明
公用方法 Add Add a PackageItem object to the PackageItems collection with specified stream name and package.
公用方法 Equals (繼承自 Object。)
公用方法 GetEnumerator Returns a IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection.
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 IndexOf Reports the index of the occurrence of the specified string in this instance.
公用方法 Insert Insert a PackageItem object to the PackageItems collection with specified index, stream name, and package.
公用方法 Remove Returns a value that indicates whether a PackageItem object from the PackageItems collection with specified stream name was removed.
公用方法 RemoveAt Removes a PackageItem object from the PackageItems collection with specified index.
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IEnumerable.GetEnumerator Retrieves an enumerator that can be used to iterate through the current collection.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間