DataConnector | ComponentOne
C1.AdoNet.OData Assembly / C1.DataConnector.AdoNet Namespace / C1ConnectionBase Class / SetConnectionState Method

In This Topic
    SetConnectionState Method (C1ConnectionBase)
    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