Sdílet prostřednictvím


SMODataFileEnumerator Class

Enumerates the SQL Server Management Objects (SMO) data file.

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

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.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO.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.