AbstractSqlFactory.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 VIRTUAL METHOD BeforeConnect(
cString AS STRING,
cUser AS STRING,
cPassword AS STRING
) AS STRING
public virtual 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.
Implements
BeforeConnect(String, String, String)See Also