ForEachNodeListEnumerator 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义一个类,该类用于枚举一组 XML 节点,这些节点由将 XPath 表达式应用于 XML 文件而生成。
public ref class ForEachNodeListEnumerator sealed : Microsoft::SqlServer::Dts::Runtime::ForEachEnumerator, Microsoft::SqlServer::Dts::Runtime::Enumerators::NodeList::IDTSForEachNodeListEnumerator, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
public sealed class ForEachNodeListEnumerator : Microsoft.SqlServer.Dts.Runtime.ForEachEnumerator, Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.IDTSForEachNodeListEnumerator, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
public sealed class ForEachNodeListEnumerator : Microsoft.SqlServer.Dts.Runtime.ForEachEnumerator, Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.IDTSForEachNodeListEnumerator, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
public sealed class ForEachNodeListEnumerator : Microsoft.SqlServer.Dts.Runtime.ForEachEnumerator, Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.IDTSForEachNodeListEnumerator, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
type ForEachNodeListEnumerator = class
inherit ForEachEnumerator
interface IDTSForEachNodeListEnumerator
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
type ForEachNodeListEnumerator = class
inherit ForEachEnumerator
interface IDTSForEachNodeListEnumerator
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsForEachEnumerator(LocalizationType=typeof(Microsoft.SqlServer.Dts.Runtime.Enumerators.NodeList.Localized), UITypeName="Microsoft.SqlServer.NodeListEnumeratorUI.NodeListControl, Microsoft.SqlServer.NodeListEnumeratorUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
type ForEachNodeListEnumerator = class
inherit ForEachEnumerator
interface IDTSForEachNodeListEnumerator
interface IDTSComponentPersist
Public NotInheritable Class ForEachNodeListEnumerator
Inherits ForEachEnumerator
Implements IDTSComponentPersist, IDTSForEachNodeListEnumerator
- 继承
- 属性
- 实现
构造函数
ForEachNodeListEnumerator() |
初始化 ForEachNodeListEnumerator 类的新实例。 |
属性
CollectionEnumerator |
返回一个布尔值,该值指示枚举器类型是否为元素集合。 |
EnumerationType |
获取此属性或将其设置为 EnumerationType 枚举中的一个值。 |
InnerElementType |
获取或将此属性设置为 InnerElementType 枚举中的值。 |
InnerXPathString |
指定 XPath 字符串或包含 XPath 字符串的变量的名称,具体取决于 InnerXPathStringSourceType 的值。 |
InnerXPathStringSourceType |
使用 SourceType 枚举中的值获取或设置内部 XPath 字符串的源类型。 |
NodeList |
获取一个 ArrayList 类,其中包含 XPath 操作产生的节点集合。 |
OuterXPathString |
获取或设置一个值,该值表示 XPath 字符串、包含 XPath 字符串的文件的名称或包含 XPath 字符串的变量的名称,具体取决于 OuterXPathStringSourceType 的值。 |
OuterXPathStringSourceType |
使用 SourceType 枚举中的值获取或设置 XPath 字符串的源类型。 |
SourceDocument |
获取或设置一个值,该值表示作为字符串的 XML 源文档、包含 XML 源文档的文件的名称或包含 XML 源文档的变量的名称,具体取决于 SourceDocumentType 的值。 |
SourceDocumentType |
使用 SourceType 枚举器获取或设置源文档的源类型。 |
TargetServerVersion |
定义一个类,该类用于枚举一组 XML 节点,这些节点由将 XPath 表达式应用于 XML 文件而生成。 (继承自 ForEachEnumerator) |
Version |
返回包的版本号。 此属性为只读。 (继承自 ForEachEnumerator) |
方法
CanUpdate(String) |
指示新包 XML 是否可以更新旧包 XML 的布尔值。 (继承自 ForEachEnumerator) |
Equals(Object) |
确定两个对象实例是否相等。 (继承自 DtsObject) |
GetEnumerator(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) |
返回一个 IEnumerator 接口,该接口可以循环访问 ActiveX 数据对象 (ADO) 对象。 |
GetHashCode() |
返回此实例的哈希代码。 (继承自 DtsObject) |
InitializeForEachEnumerator(Connections, IDTSInfoEvents, ObjectReferenceTracker) |
初始化与该任务相关联的属性。 此方法由运行时调用,在代码中未使用。 (继承自 ForEachEnumerator) |
LoadFromXML(XmlElement, IDTSInfoEvents) |
此方法不能由应用程序代码调用。 若要将保存为 .xml 的包加载到硬盘,请使用 LoadPackage(String, IDTSEvents) 方法。 |
SaveToXML(XmlDocument, IDTSInfoEvents) |
此方法不能由应用程序代码调用。 若将包保存为 .xml,请使用 SaveToXml(String, Package, IDTSEvents) 方法。 |
Update(String) |
此方法使用新包 XML 更新旧包 XML(如果 CanUpdate(String) 设置为 true)。 (继承自 ForEachEnumerator) |
Validate(Connections, VariableDispenser, IDTSInfoEvents, IDTSLogging) |
允许容器确定它是否包含阻止其成功执行的无效设置。 (继承自 ForEachEnumerator) |