DbTransaction.Rollback Method
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.
Overloads
Rollback() |
When overridden in a derived class, rolls back a transaction from a pending state. |
Rollback(String) |
Rolls back all commands that were executed after the specified savepoint was established. |
Rollback()
- Source:
- DbTransaction.cs
- Source:
- DbTransaction.cs
- Source:
- DbTransaction.cs
When overridden in a derived class, rolls back a transaction from a pending state.
public:
abstract void Rollback();
public abstract void Rollback ();
abstract member Rollback : unit -> unit
Public MustOverride Sub Rollback ()
Implements
See also
Applies to
Rollback(String)
- Source:
- DbTransaction.cs
- Source:
- DbTransaction.cs
- Source:
- DbTransaction.cs
Rolls back all commands that were executed after the specified savepoint was established.
public:
virtual void Rollback(System::String ^ savepointName);
public virtual void Rollback (string savepointName);
abstract member Rollback : string -> unit
override this.Rollback : string -> unit
Public Overridable Sub Rollback (savepointName As String)
Parameters
- savepointName
- String
The name of the savepoint to roll back to.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za