语言

ForEachEnumeratorHostClass 类

定义

定义了 的 ForEachItemEnumeratorClass宿主类。 此类不能被继承。

public ref class ForEachEnumeratorHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ForEachEnumeratorHost, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachEnumerator100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("6B3B7A95-8AF7-49C8-A46C-6233549B90A9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("333426D4-55B2-464E-A753-6571B77C7389")]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("DF8B04F8-DC40-4E1D-AA34-2535D6C0D691")]
public class ForEachEnumeratorHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ForEachEnumeratorHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSForEachEnumerator100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("6B3B7A95-8AF7-49C8-A46C-6233549B90A9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("333426D4-55B2-464E-A753-6571B77C7389")>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("DF8B04F8-DC40-4E1D-AA34-2535D6C0D691")>]
type ForEachEnumeratorHostClass = class
    interface ForEachEnumeratorHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSForEachEnumerator100
    interface IDTSPropertiesProvider100
Public Class ForEachEnumeratorHostClass
Implements ForEachEnumeratorHost, IDTSForEachEnumerator100, IDTSObjectHost100, IDTSPropertiesProvider100
继承
ForEachEnumeratorHostClass
属性
实现

注解

有关详细信息,请参阅 ForEachEnumeratorHost

构造函数

名称 说明
ForEachEnumeratorHostClass()

初始化 ForEachEnumeratorHostClass 类的新实例。

属性

名称 说明
CollectionEnumerator

获取或设置一个布尔值,指示托管枚举器是在枚举对象集合还是枚举集合集合。

CreationName

返回运行时用于创建该对象实例 ForEachItemEnumeratorClass 的字符串。 此属性为只读。

DelayValidation

获取或设置一个布尔值,指示验证是否 ForEachItemEnumeratorClass 延迟到包运行。

Description

为主持人设定描述。

HostType

获得一个枚举,描述了所使用的主机 ForEachItemEnumeratorClass 类型。 此属性为只读。

ID

返回分配给主机的 GUID。

InnerObject

返回宿主的内对象,即 ForEachItemEnumeratorClass 被宿主的 。

Name

为主持人命名或命名。

Properties

返回 IDTSProperties100 包含 IDTSProperty100 对象的集合。 每个 IDTSProperty100 任务都包含关于 中 ForEachItemEnumeratorClass每个任务的额外信息。

方法

名称 说明
ComputeExpressions(Boolean)

计算性质集合中的表达式。

GetEnumerator(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

返回一个IE分子接口,用于对 ForEachItemEnumeratorClass.

GetExpression(String)

返回包含指定属性表达式的字符串。 空意味着没有分配表达式。

InitializeForEachEnumerator(IDTSConnections100, IDTSInfoEvents100, IDTSObjectReferenceTracker100)

初始化与任务相关的属性。

SetExpression(String, String)

将指定的表达式赋予该属性。 指定 null 以从属性中移除已有表达式。

Validate(IDTSConnections100, IDTSVariableDispenser100, IDTSInfoEvents100, IDTSLogging100)

允许主机判断是否有无效设置 ForEachItemEnumeratorClass 阻碍成功执行。

适用于