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 クラス

 

Connection プロパティ

トランザクションに関連付けられている SAConnection オブジェクトです。トランザクションが無効な場合は NULL 参照 (Visual Basic の場合は Nothing) です。

構文
Visual Basic

Public Readonly Property Connection As SAConnection
C#

public SAConnection Connection { get;}
備考

1 つのアプリケーションに複数のデータベース接続があり、各接続に 0 以上のトランザクションがある場合があります。このプロパティを使用して、BeginTransaction によって作成された特定のトランザクションに関連付けられた接続オブジェクトを確認できます。

参照