Clear all remote passwords from the LOGINREC structure.
void dbrpwclr(loginrec) LOGINREC *loginrec;
A pointer to a LOGINREC structure. This pointer will serve as an argument to dbopen. You can allocate a LOGINREC structure by calling dblogin.
None.
A Transact-SQL command batch or stored procedure running on one server may call a stored procedure located on another server. To accomplish this server-to-server communication, the first server, connected to the application through dbopen, actually logs into the second, remote server.
dbrpwset allows the application to specify the password to be used when the first server attempts to call the stored procedure on the remote server. Multiple passwords may be specified, one for each server that the first server might need to log in to.
A single LOGINREC can be used repeatedly, in successive dbopen calls to different servers. dbrpwclr allows the application to remove any remote password information currently in the LOGINREC, so that successive calls to dbopen can contain different remote password information (specified with dbrpwset).
dblogin, dbopen, dbrpwset, DBSETLAPP, DBSETLHOST, DBSETLPWD, DBSETLUSER