transaction クラス : Release()メソッド
説明
アンマネージリソースを解放します。
構文
instance.Release()
引数
無し。
返り値
無し。
サンプルコード
| 1: | connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;"); |
| 2: | cnn.Open(); |
| 3: | transaction tran = cnn.BeginTransaction(); |
| 4: | ... // Access to the database. |
| 5: | tran.Commit(); // It confirms the change. |
| 6: | tran.Release(); |
| 7: | cnn.Close(); |
注意
呼び出し元インスタンスは、初期化されていない状態に戻ります。
参照リンク
無し。


