共用方式為


ForEachEnumerator Members

Enumerates over the items that the ForEachLoop is assigned to iterate over.

The following tables list the members exposed by the ForEachEnumerator type.

Public Constructors

  名稱 Description
ForEachEnumerator Initializes a new instance of the ForEachEnumerator class.

頂端

Public Properties

  名稱 Description
ms212636.pubproperty(zh-tw,SQL.90).gif CollectionEnumerator Gets or sets Boolean that indicates if the foreach loop enumerator is enumerating collections of objects or enumerating collections of collections.
ms212636.pubproperty(zh-tw,SQL.90).gif Version Returns the version number of the package. This property is read-only.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms212636.pubmethod(zh-tw,SQL.90).gif CanUpdate A Boolean that indicates if the new package XML can update the old package XML.
ms212636.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212636.pubmethod(zh-tw,SQL.90).gif GetEnumerator Returns a managed enumerator, IEnumerator, for iterating over the collections.
ms212636.pubmethod(zh-tw,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212636.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms212636.pubmethod(zh-tw,SQL.90).gif InitializeForEachEnumerator Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
ms212636.pubmethod(zh-tw,SQL.90).gifms212636.static(zh-tw,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212636.pubmethod(zh-tw,SQL.90).gifms212636.static(zh-tw,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212636.pubmethod(zh-tw,SQL.90).gifms212636.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212636.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )
ms212636.pubmethod(zh-tw,SQL.90).gif Update This method updates the old package XML with the new package XML if CanUpdate is set to true.
ms212636.pubmethod(zh-tw,SQL.90).gif Validate Allows the container to determine if it contains invalid settings that will prevent it from executing successfully.

頂端

Protected Methods

  名稱 Description
ms212636.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms212636.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

ForEachEnumerator Class
Microsoft.SqlServer.Dts.Runtime Namespace