FireDAC.Stan.Option.TFDSecurityOptions.AllowedCommandKinds

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

Delphi

property AllowedCommandKinds: TFDCommandKinds read GetAllowedCommandKinds

C++

__property Firedac::Stan::Intf::TFDCommandKinds AllowedCommandKinds = {read=GetAllowedCommandKinds, write=SetAllowedCommandKinds, stored=IsACKS, default=4194303};

プロパティ

種類 可視性 ソース ユニット
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDSecurityOptions


説明

特定の SQL コマンドの実行を制限します。

AllowedCommandKinds は、データベースでの望まないオペレーションを回避するのに使用されます。AllowedCommandKinds のデフォルト値は「すべての種類のコマンド」です。

メモ: 理想的には、デベロッパは、データベース エンジンでの権限制御を使用するべきです(エンジンが権限制御をサポートしている場合)。

関連項目