SqlTransaction.IsolationLevel Właściwość

Definicja

Określa IsolationLevel dla tej transakcji.

public:
 property System::Data::IsolationLevel IsolationLevel { System::Data::IsolationLevel get(); };
public:
 virtual property System::Data::IsolationLevel IsolationLevel { System::Data::IsolationLevel get(); };
public System.Data.IsolationLevel IsolationLevel { get; }
public override System.Data.IsolationLevel IsolationLevel { get; }
member this.IsolationLevel : System.Data.IsolationLevel
Public ReadOnly Property IsolationLevel As IsolationLevel
Public Overrides ReadOnly Property IsolationLevel As IsolationLevel

Wartość właściwości

Wartość IsolationLevel dla tej transakcji. Wartość domyślna to ReadCommitted.

Implementuje

Uwagi

Transakcje równoległe nie są obsługiwane. W związku z tym element IsolationLevel ma zastosowanie do całej transakcji.

Aby uzyskać więcej informacji na temat poziomów izolacji SQL Server, zobacz Wyłączenie poziomów izolacji.

Dotyczy

Zobacz też