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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。