Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SATransaction 类 » Rollback 方法

 

Rollback(String) 方法

将事务从待执行状态回退。

语法
Visual Basic

Public Sub Rollback( _
   ByVal savePoint As String _
)
C#

public void Rollback(
   string  savePoint
);
参数
  • savePoint   要回退到的保存点的名称。

注释

此事务只能从待执行状态回退(调用 BeginTransaction 之后,但在调用 Commit 之前)。

另请参见