CMSConnectionScope Constructor (Boolean, Boolean)Kentico 8.1 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.1.5347.20411)

Parameters

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