IDBHandlerFactoryCreateConnection Method (String, NullableInt32, 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,
	Nullable<int> port,
	string database,
	string user,
	string password,
	DBType type
)

Parameters

host
Type: SystemString
Host
port
Type: SystemNullableInt32
Port
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