Share via


RelationalTransaction.GetReleaseSavepointSql(String) Method

Definition

When implemented in a provider supporting transaction savepoints, this method should return an SQL statement which releases a savepoint with the given name.

If savepoint release isn't supported, ReleaseSavepoint(String) and ReleaseSavepointAsync(String, CancellationToken) should be overridden to do nothing.

protected virtual string GetReleaseSavepointSql (string name);
abstract member GetReleaseSavepointSql : string -> string
override this.GetReleaseSavepointSql : string -> string
Protected Overridable Function GetReleaseSavepointSql (name As String) As String

Parameters

name
String

The name of the savepoint to be created.

Returns

An SQL string to create the savepoint.

Applies to