Click or drag to resize

ISqlFactory.DriverConnect Method

X#
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.21
Syntax
FUNCTION DriverConnect(
	hWindow AS IntPtr,
	nCompletion AS Object,
	cConnectionString AS Object
) AS STRING
Request Example View Source

Parameters

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: String
The connection string that is the result of the dialog.
See Also