DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1ConnectionBase<TConnectionImpl> Class / SetConnectionState Method

In This Topic
    SetConnectionState Method (C1ConnectionBase<TConnectionImpl>)
    In This Topic
    If the passed state is different than the current one, it updates it and fires the StateChange event.
    Syntax
    'Declaration
     
    Protected Sub SetConnectionState( _
       ByVal newState As ConnectionState _
    ) 
    protected void SetConnectionState( 
       ConnectionState newState
    )

    Parameters

    newState
    See Also