共用方式為


ForEachEnumeratorHostClass.CollectionEnumerator 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a Boolean that indicates if the hosting enumerator is enumerating collections of objects or enumerating collections of collections.

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

語法

'宣告
Public Overridable Property CollectionEnumerator As Boolean 
    Get 
    Set
'用途
Dim instance As ForEachEnumeratorHostClass 
Dim value As Boolean 

value = instance.CollectionEnumerator

instance.CollectionEnumerator = value
public virtual bool CollectionEnumerator { get; set; }
public:
virtual property bool CollectionEnumerator {
    bool get ();
    void set (bool value);
}
abstract CollectionEnumerator : bool with get, set 
override CollectionEnumerator : bool with get, set
function get CollectionEnumerator () : boolean 
function set CollectionEnumerator (value : boolean)

屬性值

型別:System.Boolean
true if the hosting enumerator is enumerating collections of objects; false if the hosting enumerator is enumerating collections of collections.

實作

IDTSForEachEnumerator100.CollectionEnumerator

請參閱

參考

ForEachEnumeratorHostClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間