Condividi tramite


Classe SMODataFileEnumerator

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

Spazio dei nomi:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly:  Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Sintassi

'Dichiarazione
Public Class SMODataFileEnumerator _
    Implements IEnumerator
'Utilizzo
Dim instance As SMODataFileEnumerator
public class SMODataFileEnumerator : IEnumerator
public ref class SMODataFileEnumerator : IEnumerator
type SMODataFileEnumerator =  
    class
        interface IEnumerator
    end
public class SMODataFileEnumerator implements IEnumerator

Osservazioni

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.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO..::..SMODataFileEnumerator

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.