Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ConnectionInfos Class

 

Applies To: SQL Server 2016 Preview

Contains information about all the connections on the computer. The collection contains ConnectionInfo objects that provide the details about each connection. The collection is available using the Application class. This class cannot be inherited.

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


[DefaultMemberAttribute("Item")]
public sealed class ConnectionInfos : DTSReadOnlyCollectionBase

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.(Inherited from DTSReadOnlyCollectionBase.)

System_CAPS_pubpropertyIsSynchronized

Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).(Inherited from DTSReadOnlyCollectionBase.)

System_CAPS_pubpropertyItem[Object]

Retrieves the ConnectionInfo object from the collection by the name, index, ID, or identity.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.(Inherited from DTSReadOnlyCollectionBase.)

NameDescription
System_CAPS_pubmethodContains(Object)

Returns a Boolean that indicates whether the ConnectionInfo items in the ConnectionInfos collection can be accessed by using the name, index, ID, or identity parameter as the index.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.(Inherited from DTSReadOnlyCollectionBase.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The ConnectionInfo class contains the specific information about a connection on the computer, and the ConnectionInfos collection is the collection that contains the information about all the connections on the computer.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show:
© 2015 Microsoft