Click or drag to resize

SQLConnection.Connect Method (Typed)

X#
Connect a user to an ODBC data source.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Connect(
	uConnStr,
	uUserID,
	uPassword
) AS LOGIC CLIPPER
Request Example View Source

Parameters

uConnStr (Optional)
Type: Usual
uUserID (Optional)
Type: Usual
uPassword (Optional)
Type: Usual

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
If the connection fails, a message box will display the error. To suppress the message box, call the SQLConnectErrorMsg(FALSE) function.
See Also