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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。