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: 12.0.0
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