IDBHandlerFactoryCreateTNSConnection Method (String, String, String, String)ChemAxon .NET API
Creates a connection descriptor for TNS based database access.

Namespace: ChemAxon.NET.API.DB
Assembly: ChemAxon.NET (in ChemAxon.NET.dll) Version: 1.0.0.1
Syntax

IDatabaseURLConverter CreateTNSConnection(
	string tnsName,
	string userName,
	string password,
	string oraFileDirectory
)

Parameters

tnsName
Type: SystemString
An alias entry from a tnsnames.ora file
userName
Type: SystemString
User name
password
Type: SystemString
Password
oraFileDirectory
Type: SystemString
The path of the 'tnsnames.ora' file directory.

Return Value

Type: IDatabaseURLConverter
Database URL converter
See Also

Reference