Delen via


WarningEnumerator Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class WarningEnumerator _
    Inherits DtsEnumerator
'Usage
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

The WarningEnumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current DtsWarning object from the collection.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element of the collection. (Inherited from DtsEnumerator.)
Public method Reset Sets the enumerator to its initial position, which is before the first element in the collection. (Inherited from DtsEnumerator.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class inherits from the DtsEnumerator class.

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.