Defines the host class for the ForEachEnumerator. This class cannot be inherited.
The following tables list the members exposed by the ForEachEnumeratorHost type.
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CollectionEnumerator | Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections. | 
| .gif) | CreationName | Returns the string that is used by the run-time to create an instance of the ForEachEnumeratorHost object. This property is read-only. | 
| .gif) | DelayValidation | Gets or sets a Boolean that indicates whether ForEachEnumerator validation is delayed until the package runs. | 
| .gif) | Description | Gets or sets description for the host. | 
| .gif) | HostType | Gets an enumeration that describes the type of host that the ForEachEnumerator is being used by. This property is read-only | 
| .gif) | ID | Returns the GUID assigned to the host. | 
| .gif) | InnerObject | Returns the inner object of the host, which is the ForEachEnumerator that is being hosted. | 
| .gif) | Name | Gets or sets a name for the host. | 
| .gif) | Properties | Returns a DtsProperties collection that contains DtsProperty objects. Each DtsProperty has additional information about each task in the ForEachEnumeratorHost. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from DtsObject ) | 
| .gif) | GetEnumerator | Returns an IEnumerator interface for use in iterating over the ForEachEnumerator. | 
| .gif) | GetExpression | Returns a String that contains the expression for the specified property. Null means no expression is assigned. | 
| .gif) | GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method. | 
| .gif) .gif) | op_Equality | (inherited from DtsObject ) | 
| .gif) .gif) | op_Inequality | (inherited from DtsObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. | 
| .gif) | SetExpression | Assigns the specified expression to the property. Specify null to remove an existing expression from the property. | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) | Validate | Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
ForEachEnumeratorHost Class
Microsoft.SqlServer.Dts.Runtime Namespace