Share via


ConnectionEnumerator Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class ConnectionEnumerator _
    Inherits DtsEnumerator
'Usage
Dim instance As ConnectionEnumerator
public sealed class ConnectionEnumerator : DtsEnumerator
public ref class ConnectionEnumerator sealed : public DtsEnumerator
[<SealedAttribute>]
type ConnectionEnumerator =  
    class 
        inherit DtsEnumerator 
    end
public final class ConnectionEnumerator extends DtsEnumerator

The ConnectionEnumerator type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (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.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace