SQLConnection.Connect Method (Typed) | |
Connect a user to an ODBC data source.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Connect(
uConnStr,
uUserID,
uPassword
) AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual bool Connect(
Usual uConnStr = default,
Usual uUserID = default,
Usual uPassword = default
)
Request Example
View SourceParameters
- 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