共用方式為


SMOEnumerator 類別

Enumerates the SQL Server Management Objects (SMO) objects.

繼承階層

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO.SMOEnumerator

命名空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
組件:  Microsoft.SqlServer.ForEachSMOEnumerator (在 Microsoft.SqlServer.ForEachSMOEnumerator.dll 中)

語法

'宣告
Public Class SMOEnumerator _
    Implements IEnumerator
'用途
Dim instance As SMOEnumerator
public class SMOEnumerator : IEnumerator
public ref class SMOEnumerator : IEnumerator
type SMOEnumerator =  
    class 
        interface IEnumerator 
    end
public class SMOEnumerator implements IEnumerator

SMOEnumerator 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Current Gets the current object from the enumerator.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 MoveNext Advances the enumerator to the next element of the collection.
公用方法 Reset Sets the enumerator to its initial position, which is before the first element in the collection.
公用方法 ToString (繼承自 Object。)

上層

備註

The SMOEnumerator is used to enumerate over all SMO objects except data files. To enumerate over data files, use SMODataFileEnumerator.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO 命名空間