tibemsConnectionFactory_CreateConnection
Function
C Declaration
tibems_status tibemsConnectionFactory_CreateConnection( tibemsConnectionFactory factory, tibemsConnection* connection, const char * username, const char * password );
COBOL Call
CALL "tibemsConnectionFactory_CreateConnection" USING BY VALUE factory, BY REFERENCE connection, BY REFERENCE username, BY REFERENCE password, RETURNING tibems-status END-CALL.
Parameters
Parameter | Description |
---|---|
factory | Use this connection factory to create a connection. |
connection | The function stores the new connection object in this location. |
userName | The connection object presents this user identity to the server. Set to NULL if the server isn’t authenticating or authorizing users. |
password | The connection object authenticates the user identity with this password. Set to NULL if the server isn’t authenticating or authorizing users. |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.