ISqlFactory.DriverConnect 方法 | |
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
string DriverConnect(
IntPtr hWindow,
Object nCompletion,
Object cConnectionString
)
查看代码参数
- 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.
返回值
类型:
StringThe connection string that is the result of the dialog.
参见