English (English) - Change language

OpenSession

What it does

Opens a connection to the Application Server.

Note: You must specify a valid combination of roleType and stationType (i.e. the station you specify for a role must be accessible to that role). Otherwise the session will not be opened. For detailed information about roles and their accessible stations, see Operators of ABBYY FlexiCapture.

Definition

int OpenSession( int roleType, int stationType );
    

Parameters

Name Type Description
roleType int The type of role to be used for the connection. See RoleType for possible values.
stationType int The type of connecting station. See WorkstationType for possible values.

Returned value

Type Description
int The ID of the opened connection

10.11.2020 12:08:04


Please leave your feedback about this article