Click or drag to resize
ConnectionContextEnsureThreadScope Method
Ensures the CMSConnectionScope for current thread.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static bool EnsureThreadScope(
	string connectionString
)

Parameters

connectionString
Type: SystemString
Connection string

Return Value

Type: Boolean
true if CMSConnectionScope was created for current thread; otherwise false
Remarks
Thread scope should be created only once per thread lifetime.
See Also