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 命名空間