GeneralConnectionGetExecutingConnection Method |
Gets the connection that executes the given query
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public IDataConnection GetExecutingConnection(
string connectionStringName,
bool newConnection = false
)
Parameters
- connectionStringName
- Type: SystemString
Connection string name - newConnection (Optional)
- Type: SystemBoolean
If true, a new connection instance is created
Return Value
Type:
IDataConnectionImplements
IDataConnectionGetExecutingConnection(String, Boolean)See Also