[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.GetConnectionState

GetConnectionState Method

GetConnectionState<T>(IDataCollection<T>)

Gets the state of the connection to the source, or Connected if the collection doesn't implement the ISupportConnection interface.

Declaration
public static ConnectionState GetConnectionState<T>(this IDataCollection<T> dataCollection) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

Returns
Type Description
ConnectionState
Type Parameters
Name Description
T