Share via


SMOEnumerator Class

Definition

Enumerates the SQL Server Management Objects (SMO) objects.

public ref class SMOEnumerator : System::Collections::IEnumerator
public class SMOEnumerator : System.Collections.IEnumerator
type SMOEnumerator = class
    interface IEnumerator
Public Class SMOEnumerator
Implements IEnumerator
Inheritance
SMOEnumerator
Implements

Remarks

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

Properties

Current

Gets the current object from the enumerator.

Methods

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.

Applies to