Bde.DBTables.TSession.Close

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure Close;

C++

void __fastcall Close();

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TSession

説明

すべてのデータベースから接続を解除してセッションを閉じます。

Close メソッドを呼び出すと,セッションを終了できます。Close は一時データベースコンポーネントを解放し,Close メソッドの持続的データベースコンポーネントを呼び出すことにより,アクティブなすべてのデータベースとの接続を解除してから,セッション所有のハンドルを nil (Delphi) または NULL (C++) に設定します。

メモ:  Active プロパティを false に設定してもセッションを終了できます。

関連項目