Share via


SMOEnumerator Class

Enumerates the SQL Server Management Objects (SMO) objects.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly:  Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Syntax

'Declaration
Public Class SMOEnumerator _
    Implements IEnumerator
'Usage
Dim instance As SMOEnumerator
public class SMOEnumerator : IEnumerator
public ref class SMOEnumerator : IEnumerator
type SMOEnumerator =  
    class 
        interface IEnumerator 
    end
public class SMOEnumerator implements IEnumerator

The SMOEnumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current object from the enumerator.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element of the collection.
Public method Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Public method ToString (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace