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) » SAConnection クラス » BeginTransaction メソッド

 

BeginTransaction() メソッド

トランザクション・オブジェクトを返します。トランザクション・オブジェクトに関連付けられているコマンドは、単一のトランザクションとして実行されます。トランザクションは、Commit メソッドまたは Rollback メソッドへの呼び出しで終了します。

構文
Visual Basic

Public Function BeginTransaction() As SATransaction
C#

public SATransaction BeginTransaction();
戻り値

新しいトランザクションを表す SATransaction オブジェクト。

備考

コマンドをトランザクション・オブジェクトに関連付けるには、SACommand.Transaction プロパティを使用します。

参照