IDBHandlerFactoryCreateConnection Method (String, String, String, String, DBType)ChemAxon .NET API
Creates a connection for database access.

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

IConnectionInfo CreateConnection(
	string host,
	string database,
	string user,
	string password,
	DBType type
)

Parameters

host
Type: SystemString
Host
database
Type: SystemString
Database
user
Type: SystemString
User name
password
Type: SystemString
Password
type
Type: DBType
Database type

Return Value

Type: IConnectionInfo
Connection info
See Also

Reference