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 | |
---|---|---|
Current | Gets the current object from the enumerator. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from 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 | (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.