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

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