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-cn,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-cn,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-cn,SQL.90).gif CanUpdate A Boolean that indicates if the new package XML can update the old package XML.
ms212636.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212636.pubmethod(zh-cn,SQL.90).gif GetEnumerator Returns a managed enumerator, IEnumerator, for iterating over the collections.
ms212636.pubmethod(zh-cn,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212636.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms212636.pubmethod(zh-cn,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-cn,SQL.90).gifms212636.static(zh-cn,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212636.pubmethod(zh-cn,SQL.90).gifms212636.static(zh-cn,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212636.pubmethod(zh-cn,SQL.90).gifms212636.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212636.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )
ms212636.pubmethod(zh-cn,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-cn,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-cn,SQL.90).gif Finalize  (inherited from Object )
ms212636.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

ForEachEnumerator Class
Microsoft.SqlServer.Dts.Runtime Namespace