DbTransaction.SupportsSavepoints Property
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.
Gets a value that indicates whether this DbTransaction instance supports database savepoints.
If false
, the methods SaveAsync(String, CancellationToken), RollbackAsync(String, CancellationToken) and ReleaseAsync(String, CancellationToken) as well as their synchronous counterparts are expected to throw NotSupportedException.
public:
virtual property bool SupportsSavepoints { bool get(); };
public virtual bool SupportsSavepoints { get; }
member this.SupportsSavepoints : bool
Public Overridable ReadOnly Property SupportsSavepoints As Boolean
Property Value
true
if this DbTransaction instance supports database savepoints; otherwise, false
.
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for