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 nullnull 引用(在 Visual Basic 中为 Nothing) 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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间