ISqlFactory.BeforeConnect Method | |
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.19
Syntax FUNCTION BeforeConnect(
cString AS STRING,
cUser AS STRING,
cPassword AS STRING
) AS STRING
string BeforeConnect(
string cString,
string cUser,
string cPassword
)
Request Example
View SourceParameters
- cString
- Type: String
Connection String. - cUser
- Type: String
User Name (may be blank). - cPassword
- Type: String
Pass word (may be blank).
Return Value
Type:
StringThe connection string that may be altered by the factory.
See Also