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 命名空间