Connections Class
Contains a collection of ConnectionManager objects that are accessed through the Package object. This class cannot be inherited.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Microsoft.SqlServer.Dts.Runtime::DTSReadOnlyCollectionBase
Microsoft.SqlServer.Dts.Runtime::Connections
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.(Inherited from DTSReadOnlyCollectionBase.) |
![]() | IsSynchronized | Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).(Inherited from DTSReadOnlyCollectionBase.) |
![]() | Item[Object^] | Gets a ConnectionManager object from the Connections collection. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.(Inherited from DTSReadOnlyCollectionBase.) |
| Name | Description | |
|---|---|---|
![]() | Add(String^) | Adds a ConnectionManager object of the specified connection type to the Connections collection. |
![]() | Contains(Object^) | Indicates whether the ConnectionManager items in the collection can be accessed by using indexing without throwing an exception. |
![]() | CopyTo(Array^, Int32) | Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.(Inherited from DTSReadOnlyCollectionBase.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetEnumerator() | Returns a ConnectionEnumerator for use in iterating over the Connections collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Join(ConnectionManager^) | Joins a connection to the list of connections. |
![]() | Remove(Object^) | Removes a ConnectionManager object from the Connections collection. |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

