DataSourceIsolation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls the locking behavior of the SQL statements issued to a data source.
public enum DataSourceIsolation
type DataSourceIsolation =
Public Enum DataSourceIsolation
- Inheritance
-
DataSourceIsolation
Fields
ReadCommitted | 0 | Specifies that statements cannot read data that has been modified, but not committed, by other transactions. This prevents dirty reads. |
Snapshot | 1 | Specifies that the data read by any statement in a transaction is transactionally consistent, as if the statements in a transaction receive a snapshot of the committed data as it existed at the start of the transaction. |
Remarks
Snapshot is data source dependant.