Click or drag to resize
GeneralConnectionGetExecutingConnection Method
Gets the connection that executes the given query

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
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: IDataConnection

Implements

IDataConnectionGetExecutingConnection(String, Boolean)
See Also