An application calls smc_connect_props to set, retrieve, or clear connection structure properties.
Connection properties define various aspects of a connection’s behavior. For example:
SMC_PROP_USERNAME defines the username that a connection will use when logging into a server.
SMC_PROP_PASSWORD specifies the password for the username.
SMC_PROP_SERVERNAME defines the server for this connection.
SMC_PROP_IFILE defines the interfaces file name for this connection. If you do not specify this property on a UNIX system, the default interfaces file in the SYBASE environment variable directory is used. On Windows NT, the default interfaces file is sql.ini.
SMC_PROP_SERVERMODE defines the type of connection: live or historical.