dbsetloginfo

Description

Transfer TDS login information from a DBLOGINFO structure to a LOGINREC structure.

Syntax

RETCODE dbsetloginfo(loginrec, loginfo)
 
LOGINREC       *login;
DBLOGINFO     *loginfo;

Parameters

login

A pointer to a LOGINREC structure. This pointer will be passed as an argument to dbopen. You can allocate a LOGINREC structure by calling dblogin.

loginfo

A pointer to a DBLOGINFO structure that contains login parameter information.

Returns

SUCCEED or FAIL.

Usage

See also

dbgetloginfo, dbrecvpassthru, dbsendpassthru