|
of_connectfrom
|
|
Full name
|
vg_n_cst_vgmanager.of_connectfrom
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_connectfrom(readonly string,readonly string)
|
public function integer of_connectfrom (readonly string as_type, readonly string as_keyorfilename);/*_____________________________________________________________________________
Description : Specifies the INI-file name or the registry key where Visual Guard will find
parameters for the connection to the security database.
Usage : You can use this function to specify the registry key or the INI-File name.
By default, Visual Guard uses the INI-file whose name is equal to the name of the application object.
Example : This example indicates to Visual Guard the registry key to use for the connection.
...
guo_vgsecurity.of_connectfrom (VGVALUE.USE_REGISTRY, "HKEY_CURRENT_USER\SOFTWARE\MYCOMPAGNY\MYAPP\SECURITY")
...
Argument : as_type : une chaine de caractères indiquant si Visual Guard doit utiliser
un fichier INI ou la base de registre. les valeurs possibles pour ce parametre sont : VGVALUE.USE_INIFILE or VGVALUE.USE_REGISTRY.
as_name : String specifying the fully qualified name of the INI-file or the registry key.
Return : 1 if it succeeds and -1 if an error occurs.
History :
BT - 07/06/2000 - Initial version
_____________________________________________________________________________*/
Return iuo_vgsecurity.of_connectfrom (as_type, as_keyorfilename)
end function