Click or drag to resize
CMSConnectionScope Constructor (Boolean, Boolean)

Note: This API is now obsolete.

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: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use constructor CMSConnectionScope(bool), followed by an Open() call if needed.")]
public CMSConnectionScope(
	bool newConnection,
	bool openConnection
)

Parameters

newConnection
Type: SystemBoolean
If true, creates a new connection
openConnection
Type: SystemBoolean
If true, opens the connection
See Also