ConnectionContextEnsureThreadScope Method |
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static bool EnsureThreadScope(
string connectionString
)
Parameters
- connectionString
- Type: SystemString
Connection string
Return Value
Type:
Booleantrue if
CMSConnectionScope was created for current thread; otherwise
falseRemarks Thread scope should be created only once per thread lifetime.
See Also