Click or drag to resize
ConnectionContextEnsureRequestScope Method

Note: This API is now obsolete.

Ensures the connection scope for current request.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use EnsureThreadScope instead.")]
public static CMSConnectionScope EnsureRequestScope(
	string connectionString,
	bool openConnection,
	bool keepOpen
)

Parameters

connectionString
Type: SystemString
Connection string
openConnection
Type: SystemBoolean
If true, the connection is opened right away
keepOpen
Type: SystemBoolean
If true, the connection is kept open

Return Value

Type: CMSConnectionScope
See Also