SMODataFileEnumerator Class
Enumerates the SQL Server Management Objects (SMO) data file.
Assembly: Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)
| Name | Description | |
|---|---|---|
![]() | Current | Gets the current object from the enumerator. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (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.) |
There are two SMO enumerators, one for enumerating over data files, which is this enumerator, and one for enumerating over other objects, which is the SMOEnumerator enumerator. This unique enumerator is needed because data files span filegroups.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


