Click or drag to resize

SqlStringConnect Function

X#
There are 3 different overloads for the SqlStringConnect( ) function. You can either pass a connection string , in which case the runtime tries to connect to the datasource with that string. If you don't specify a connection string then a dialog will be shown where you can choose a connection. The logic parameter indicates if the connection that you open will be shareable or not.
Overload List
  NameDescription
Public methodStatic memberCode exampleSqlStringConnect(Logic)
Establishes a connection to a data source using a connection string.
Public methodStatic memberCode exampleSqlStringConnect(String)
Establishes a connection to a data source using a connection string.
Public methodStatic memberCode exampleSqlStringConnect(String, Logic)
Establishes a connection to a data source using a connection string.
Top
See Also