Click or drag to resize

SQLConnection Constructor (Typed)

X#
Construct an SQL connection.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	cConnStr,
	cUserID,
	cPassword
) CLIPPER
Request Example View Source

Parameters

cConnStr (Optional)
Type: Usual
cUserID (Optional)
Type: Usual
The ODBC user ID. If not specified, the default is NULL_STRING.
cPassword (Optional)
Type: Usual
The ODBC password (authorization string). If not specified, the default is NULL_STRING.
Remarks
If a data source is provided to this method, an attempt to connect will occur; otherwise, use the SQLConnection:Connect() method. Another option is to use SQLConnection:DataSource to name the source.
See Also