共用方式為


ForEachEnumeratorHost 類別

Defines the host class for the ForEachEnumerator. This class cannot be inherited.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..ForEachEnumeratorHost

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class ForEachEnumeratorHost _
    Inherits DtsObject _
    Implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator,  _
    IDTSPropertiesProvider, IDTSPackagePath
'用途
Dim instance As ForEachEnumeratorHost
public sealed class ForEachEnumeratorHost : DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
public ref class ForEachEnumeratorHost sealed : public DtsObject, 
    IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, 
    IDTSPackagePath
[<SealedAttribute>]
type ForEachEnumeratorHost =  
    class
        inherit DtsObject
        interface IDTSName
        interface IDTSPersist
        interface IDTSObjectHost
        interface IDTSForEachEnumerator
        interface IDTSPropertiesProvider
        interface IDTSPackagePath
    end
public final class ForEachEnumeratorHost extends DtsObject implements IDTSName, IDTSPersist, IDTSObjectHost, IDTSForEachEnumerator, IDTSPropertiesProvider, IDTSPackagePath

ForEachEnumeratorHost 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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 ForEachEnumeratorHost object. This property is read-only.
公用屬性 DelayValidation Gets or sets a Boolean that indicates whether ForEachEnumerator 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 ForEachEnumerator 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 ForEachEnumerator that is being hosted.
公用屬性 Name Gets or sets a name for the host.
公用屬性 Properties Returns a DtsProperties collection that contains DtsProperty objects. Each DtsProperty has additional information about each task in the ForEachEnumeratorHost.

上層

方法

  名稱 說明
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
公用方法 GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetPackagePath
公用方法 GetType (繼承自 Object。)
公用方法 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
公用方法 SetExpression Assigns the specified expression to the property. Specify nullNothingnullptrunitnull 參考 (在 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 ForEachEnumerator from executing successfully.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。