4D v16

OCIGetTnsnamesPath

ホーム

 
4D v16
OCIGetTnsnamesPath

OCIGetTnsnamesPath 


 

OCIGetTnsnamesPath -> 戻り値 
引数   説明
戻り値  文字 in Pathname of Oracle home folder

説明   

The OCIGetTnsnamesPath command returns the full path of the Oracle home folder.

This function is especially useful if you need to access certain files from the Oracle home folder.

例題  

Get the list of entry points contained in the "tnsnames.ora" file.

 $TnsPath:=OCIGetTnsnamesPath
 oci_tool_GetEntryName($TnsPath+"Network"\Admin\tnsnames";->oci_tTnsNameEntry)

oci_tool_GetEntryName is a 4D method that allows analyzing the "tnsnames.ora" file to extract entry points and save them in a text array.

 
プロパティ 

プロダクト: 4D
テーマ: Extras
番号: 705125

 
履歴 

 
ARTICLE USAGE

4D for OCI ( 4D v16)