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 命名空间