ReadOnlyTransactions Property

Syntax:

public bool ReadOnlyTransactions { get; set; }

Description:

Type: System.Boolean

Gets or sets the read only transactions information for the connection string. The read only transactions information indicates to the SQL engine how to do reading. The default mode (ReadOnlyTransactions is false) means that the SQL engine will acquire locks to read from the database. If ReadOnlyTransactions is set to true, the SQL engine will apply a read only transaction in order to do reading.

Exceptions:

None