SqlTransaction.IsolationLevel Właściwość

Definicja

Określa IsolationLevel dla tej transakcji.

public:
 virtual property System::Data::IsolationLevel IsolationLevel { System::Data::IsolationLevel get(); };
public:
 property System::Data::IsolationLevel IsolationLevel { System::Data::IsolationLevel get(); };
public override System.Data.IsolationLevel IsolationLevel { get; }
public System.Data.IsolationLevel IsolationLevel { get; }
member this.IsolationLevel : System.Data.IsolationLevel
Public Overrides ReadOnly Property IsolationLevel As IsolationLevel
Public 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 wartość IsolationLevel ma zastosowanie do całej transakcji.

Aby uzyskać więcej informacji na temat poziomów izolacji SQL Server, zobacz Poziomy izolacji transakcji.

Dotyczy

Zobacz też