Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 5.24 KB

ne-comadmin-comadmintxisolationleveloptions.md

File metadata and controls

93 lines (67 loc) · 5.24 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:comadmin.COMAdminTxIsolationLevelOptions
COMAdminTxIsolationLevelOptions (comadmin.h)
Indicates the isolation level that is to be used for transactions.
COMAdminTxIsolationLevelAny
COMAdminTxIsolationLevelOptions
COMAdminTxIsolationLevelOptions enumeration [COM+]
COMAdminTxIsolationLevelReadCommitted
COMAdminTxIsolationLevelReadUnCommitted
COMAdminTxIsolationLevelRepeatableRead
COMAdminTxIsolationLevelSerializable
_cos_COMAdminTxIsolationLevelOption
comadmin/COMAdminTxIsolationLevelAny
comadmin/COMAdminTxIsolationLevelOptions
comadmin/COMAdminTxIsolationLevelReadCommitted
comadmin/COMAdminTxIsolationLevelReadUnCommitted
comadmin/COMAdminTxIsolationLevelRepeatableRead
comadmin/COMAdminTxIsolationLevelSerializable
cos.comadmintxisolationleveloptions
cos\comadmintxisolationleveloptions.htm
cos
5e407423-b116-48c5-a99c-2551eca379b3
12/05/2018
COMAdminTxIsolationLevelAny, COMAdminTxIsolationLevelOptions, COMAdminTxIsolationLevelOptions enumeration [COM+], COMAdminTxIsolationLevelReadCommitted, COMAdminTxIsolationLevelReadUnCommitted, COMAdminTxIsolationLevelRepeatableRead, COMAdminTxIsolationLevelSerializable, _cos_COMAdminTxIsolationLevelOption, comadmin/COMAdminTxIsolationLevelAny, comadmin/COMAdminTxIsolationLevelOptions, comadmin/COMAdminTxIsolationLevelReadCommitted, comadmin/COMAdminTxIsolationLevelReadUnCommitted, comadmin/COMAdminTxIsolationLevelRepeatableRead, comadmin/COMAdminTxIsolationLevelSerializable, cos.comadmintxisolationleveloptions
comadmin.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
COMAdminTxIsolationLevelOptions
19H1
COMAdminTxIsolationLevelOptions
comadmin/COMAdminTxIsolationLevelOptions
c++
APIRef
kbSyntax
HeaderDef
ComAdmin.h
COMAdminTxIsolationLevelOptions

COMAdminTxIsolationLevelOptions enumeration

-description

Indicates the isolation level that is to be used for transactions.

-enum-fields

-field COMAdminTxIsolationLevelAny:0

Any isolation level is supported. A downstream component that has this isolation level always uses the same isolation level that its immediate upstream component uses. If the root object in a transaction has its isolation level configured to COMAdminTxIsolationLevelAny, its isolation level becomes COMAdminTxIsolationLevelSerializable.

-field COMAdminTxIsolationLevelReadUnCommitted

A transaction can read any data, even if it is being modified by another transaction. Any type of new data can be inserted during a transaction. This is the least safe isolation level but allows the highest concurrency.

-field COMAdminTxIsolationLevelReadCommitted

A transaction cannot read data that is being modified by another transaction that has not committed. Any type of new data can be inserted during a transaction. This is the default isolation level in Microsoft SQL Server.

-field COMAdminTxIsolationLevelRepeatableRead

Data read by a current transaction cannot be changed by another transaction until the current transaction finishes. Any type of new data can be inserted during a transaction.

-field COMAdminTxIsolationLevelSerializable

Data read by a current transaction cannot be changed by another transaction until the current transaction finishes. No new data can be inserted that would affect the current transaction. This is the safest isolation level and is the default, but allows the lowest level of concurrency.

-remarks

This enumeration is used to configure the transaction isolation level for components that use transactions. It is also used to configure the isolation level for using the transaction service without components by being passed as a parameter to IServiceTransactionConfigBase::IsolationLevel. This method is called through CServiceConfig for either the work submitted through the activity created by CoCreateActivity or the work that is enclosed between calls to CoEnterServiceDomain and CoLeaveServiceDomain.

If a downstream component is configured with a higher isolation level than an upstream component and attempts to enlist in a transaction, an error results and the transaction aborts.

-see-also

CoCreateActivity

CoEnterServiceDomain

Configuring Transaction Isolation Levels