Datasnap.DSClientRest.DSRestLoginDialogProc
Delphi
DSRestLoginDialogProc: function(ASender: TObject; var LoginProperties: TDSRestLoginProperties;
ATestConnectionMethod: TTestConnectionMethod): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall (*DSRestLoginDialogProc)(System::TObject* ASender, TDSRestLoginProperties* &LoginProperties, TTestConnectionMethod ATestConnectionMethod);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
variable | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | Datasnap.DSClientRest |
説明
ログイン ダイアログを起動するための手続きです。
DSRestLoginDialogProc は、実装しなければならない手続きのシグネチャです。この手続きは、ログインするために書き込まれたログイン プロパティがあればそれを受け取ります。その後、実装では、ログイン情報(TDSRestLoginProperties.UserName、TDSRestLoginProperties.Password)をどのように要求するかを選択します。