CMSConnectionScope Constructor (String, Boolean)Kentico 8.0 API Reference
Constructor. Ensures that all database connections during the live of this object will use the given connection.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

connectionString
Type: OnlineSystem String
Connection string to use within all underlying database operations. If null new connection is created
openConnection
Type: OnlineSystem Boolean
If true, opens the connection
See Also