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


Класс ForEachEnumeratorHostClass

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Defines the host class for the ForEachItemEnumeratorClass. This class cannot be inherited.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHostClass

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")> _
Public Class ForEachEnumeratorHostClass _
    Implements ForEachEnumeratorHost, IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100,  _
    IDTSPropertiesProvider100
'Применение
Dim instance As ForEachEnumeratorHostClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")]
public class ForEachEnumeratorHostClass : ForEachEnumeratorHost, 
    IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"3442EA23-18C4-4A00-8ABD-C4157880CAA7")]
public ref class ForEachEnumeratorHostClass : ForEachEnumeratorHost, 
    IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("3442EA23-18C4-4A00-8ABD-C4157880CAA7")>]
type ForEachEnumeratorHostClass =  
    class 
        interface ForEachEnumeratorHost 
        interface IDTSName100 
        interface IDTSObjectHost100 
        interface IDTSForEachEnumerator100 
        interface IDTSPropertiesProvider100 
    end
public class ForEachEnumeratorHostClass implements ForEachEnumeratorHost, IDTSName100, IDTSObjectHost100, IDTSForEachEnumerator100, IDTSPropertiesProvider100

Тип ForEachEnumeratorHostClass обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ForEachEnumeratorHostClass Инфраструктура. Initializes a new instance of the ForEachEnumeratorHostClass class.

В начало

Свойства

  Имя Описание
Открытое свойство CollectionEnumerator Инфраструктура. Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.
Открытое свойство CreationName Инфраструктура. Returns the string that is used by the run-time to create an instance of the ForEachItemEnumeratorClass object. This property is read-only.
Открытое свойство DelayValidation Инфраструктура. Gets or sets a Boolean that indicates whether ForEachItemEnumeratorClass validation is delayed until the package runs.
Открытое свойство Description Инфраструктура. Gets or sets description for the host.
Открытое свойство HostType Инфраструктура. Gets an enumeration that describes the type of host that the ForEachItemEnumeratorClass is being used by. This property is read-only.
Открытое свойство ID Инфраструктура. Returns the GUID assigned to the host.
Открытое свойство InnerObject Инфраструктура. Returns the inner object of the host, which is the ForEachItemEnumeratorClass that is being hosted.
Открытое свойство Name Инфраструктура. Gets or sets a name for the host.
Открытое свойство Properties Инфраструктура. Returns a IDTSProperties100 collection that contains IDTSProperty100 objects. Each IDTSProperty100 has additional information about each task in the ForEachItemEnumeratorClass.

В начало

Методы

  Имя Описание
Открытый метод ComputeExpressions Инфраструктура. Computes the expressions in the property collection.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator Инфраструктура. Returns an IEnumerator interface for use in iterating over the ForEachItemEnumeratorClass.
Открытый метод GetExpression Инфраструктура. Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeForEachEnumerator Инфраструктура. Initializes the properties associated with the task.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод SetExpression Инфраструктура. Assigns the specified expression to the property. Specify nullпустая ссылка (Nothing в Visual Basic) to remove an existing expression from the property.
Открытый метод ToString (Производный от Object.)
Открытый метод Validate Инфраструктура. Allows the host to determine if there are invalid settings that will prevent the ForEachItemEnumeratorClass from executing successfully.

В начало

Замечания

For more information, see ForEachEnumeratorHost.

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

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

См. также

Справочник

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