点击或拖拽改变大小

ISqlFactory.DriverConnect 方法

X#
This method is called to show an interactive dialog to select a connection.

命名空间:  XSharp.Data
程序集:  XSharp.Data (在 XSharp.Data.dll 中) 版本:2.22 GA
语法
FUNCTION DriverConnect(
	hWindow AS IntPtr,
	nCompletion AS Object,
	cConnectionString AS Object
) AS STRING
查看代码

参数

hWindow
类型:IntPtr
An optional window handle that will be the owner of the dialog.
nCompletion
类型: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
类型:Object
A connection string that indicates the start values for the dialog.

返回值

类型:String
The connection string that is the result of the dialog.
参见