FireDAC.Stan.Option.TFDSecurityOptions.AllowedCommandKinds
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 のデフォルト値は「すべての種類のコマンド」です。
メモ: 理想的には、デベロッパは、データベース エンジンでの権限制御を使用するべきです(エンジンが権限制御をサポートしている場合)。