Поделиться через


Класс WarningEnumerator

Supports iteration over the DtsWarnings collection. This class cannot be inherited.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsEnumerator
    Microsoft.SqlServer.Dts.Runtime..::..WarningEnumerator

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public NotInheritable Class WarningEnumerator _
    Inherits DtsEnumerator
'Применение
Dim instance As WarningEnumerator
public sealed class WarningEnumerator : DtsEnumerator
public ref class WarningEnumerator sealed : public DtsEnumerator
[<SealedAttribute>]
type WarningEnumerator =  
    class
        inherit DtsEnumerator
    end
public final class WarningEnumerator extends DtsEnumerator

Тип WarningEnumerator обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Current Gets the current DtsWarning object from the collection.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод MoveNext Advances the enumerator to the next element of the collection. (Производный от DtsEnumerator.)
Открытый метод Reset Sets the enumerator to its initial position, which is before the first element in the collection. (Производный от DtsEnumerator.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

This class inherits from the DtsEnumerator class.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.