Поделиться через


Класс 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.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime