Click or drag to resize

ISqlFactory.BeforeConnect Method

X#
This method gets called before connecting. This allows to adjust the connection string.

Namespace:  XSharp.Data
Assembly:  XSharp.Data (in XSharp.Data.dll) Version: 2.21
Syntax
FUNCTION BeforeConnect(
	cString AS STRING,
	cUser AS STRING,
	cPassword AS STRING
) AS STRING
Request Example View Source

Parameters

cString
Type: String
Connection String.
cUser
Type: String
User Name (may be blank).
cPassword
Type: String
Pass word (may be blank).

Return Value

Type: String
The connection string that may be altered by the factory.
See Also