|
of_gettransid
|
|
Full name
|
vg_n_cst_vgmanager.of_gettransid
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_gettransid(transaction,ref string,ref string)
|
public function integer of_gettransid (transaction atr_trans, ref string as_userid, ref string as_password);/*_____________________________________________________________________________
Description : Gets the userid and the password of the Transaction object.
Usage : Returns the database specific userid and password.
ODBC : Returns the userid and the password included in dbparm or the userid and dbpass.
ORACLE, SYBASE, MSSQLSERVER : Returns the logid and logpass.
INFORMIX : Returns the userid and dbpass.
Argument : atr_trans : a reference to the transaction object.
string as_userid : a string in which the userid will be stored.
string as_pwd : a string in which the password will be stored.
Return : Returns 1 if the function succeeds and -1 if an error occurs.
History :
V7.50 - HC - 08/06/2000 - Initial version
_____________________________________________________________________________*/
IF IsNull (atr_trans) or Not IsValid (atr_trans) THEN return -1
vg_f_get_transaction_id (atr_trans, as_userid, as_password)
Return 1
end function