SQLConnection Constructor (Typed) | |
Construct an SQL connection.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOSQLClasses (in XSharp.VOSQLClasses.dll) Version: 2.19
Syntax CONSTRUCTOR(
cConnStr,
cUserID,
cPassword
) CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public SQLConnection(
Usual cConnStr = default,
Usual cUserID = default,
Usual cPassword = default
)
Request Example
View SourceParameters
- 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