Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GetConnectionState<T> Method
The data collection.

In This Topic
    GetConnectionState<T> Method
    In This Topic
    Gets the state of the connection to the source, or ConnectionState.Connected if the collection doesn't implement the ISupportConnection interface.
    Syntax
    'Declaration
     
    
    Public Shared Function GetConnectionState(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T) _
    ) As ConnectionState
    public static ConnectionState GetConnectionState<T>( 
       IDataCollection<T> dataCollection
    )
    where T: class

    Parameters

    dataCollection
    The data collection.

    Type Parameters

    T
    See Also