CMSConnectionScope Constructor (Boolean, Boolean)Kentico 8.0 API Reference
Empty constructor. Creates a new connection and ensures that all database connections during the live of this object will use that connection.

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

Parameters

newConnection (Optional)
Type: OnlineSystem Boolean
If true, creates a new connection
openConnection (Optional)
Type: OnlineSystem Boolean
If true, opens the connection
See Also