SMODataFileEnumerator Class
Enumerates the SQL Server Management Objects (SMO) data file.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO.SMODataFileEnumerator
Namespace: Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly: Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)
Syntax
'Declaration
Public Class SMODataFileEnumerator _
Implements IEnumerator
'Usage
Dim instance As SMODataFileEnumerator
public class SMODataFileEnumerator : IEnumerator
public ref class SMODataFileEnumerator : IEnumerator
type SMODataFileEnumerator =
class
interface IEnumerator
end
public class SMODataFileEnumerator implements IEnumerator
The SMODataFileEnumerator 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
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.
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.