SMOEnumerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |