ISqlFactory.DriverConnect Method | |
This method is called to show an interactive dialog to select a connection.
Namespace:
XSharp.Data
Assembly:
XSharp.Data (in XSharp.Data.dll) Version: 2.19
Syntax FUNCTION DriverConnect(
hWindow AS IntPtr,
nCompletion AS Object,
cConnectionString AS Object
) AS STRING
string DriverConnect(
IntPtr hWindow,
Object nCompletion,
Object cConnectionString
)
Request Example
View SourceParameters
- hWindow
- Type: IntPtr
An optional window handle that will be the owner of the dialog. - nCompletion
- Type: Object
A numeric value that indicates what can be changed. For example SQL_DRIVER_PROMPT or SQL_DRIVER_COMPLETE. See the ODBC Docs for more info. - cConnectionString
- Type: Object
A connection string that indicates the start values for the dialog.
Return Value
Type:
StringThe connection string that is the result of the dialog.
See Also