ForEachEnumeratorHost Members

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
ms212604.pubproperty(zh-cn,SQL.90).gif CollectionEnumerator Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.
ms212604.pubproperty(zh-cn,SQL.90).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.
ms212604.pubproperty(zh-cn,SQL.90).gif DelayValidation Gets or sets a Boolean that indicates whether ForEachEnumerator validation is delayed until the package runs.
ms212604.pubproperty(zh-cn,SQL.90).gif Description Gets or sets description for the host.
ms212604.pubproperty(zh-cn,SQL.90).gif HostType Gets an enumeration that describes the type of host that the ForEachEnumerator is being used by. This property is read-only
ms212604.pubproperty(zh-cn,SQL.90).gif ID Returns the GUID assigned to the host.
ms212604.pubproperty(zh-cn,SQL.90).gif InnerObject Returns the inner object of the host, which is the ForEachEnumerator that is being hosted.
ms212604.pubproperty(zh-cn,SQL.90).gif Name Gets or sets a name for the host.
ms212604.pubproperty(zh-cn,SQL.90).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
ms212604.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212604.pubmethod(zh-cn,SQL.90).gif GetEnumerator Returns an IEnumerator interface for use in iterating over the ForEachEnumerator.
ms212604.pubmethod(zh-cn,SQL.90).gif GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
ms212604.pubmethod(zh-cn,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212604.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms212604.pubmethod(zh-cn,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms212604.pubmethod(zh-cn,SQL.90).gifms212604.static(zh-cn,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212604.pubmethod(zh-cn,SQL.90).gifms212604.static(zh-cn,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212604.pubmethod(zh-cn,SQL.90).gifms212604.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212604.pubmethod(zh-cn,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms212604.pubmethod(zh-cn,SQL.90).gif SetExpression Assigns the specified expression to the property. Specify null to remove an existing expression from the property.
ms212604.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms212604.pubmethod(zh-cn,SQL.90).gif Validate Allows the host to determine if there are invalid settings that will prevent the ForEachEnumerator from executing successfully.

顶部

Protected Methods

  名称 Description
ms212604.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms212604.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ForEachEnumeratorHost Class
Microsoft.SqlServer.Dts.Runtime Namespace