Datasnap.Win.TConnect.TLocalConnection.AS_DataRequest
Delphi
function AS_DataRequest(const ProviderName: WideString;
Data: OleVariant): OleVariant; safecall;
C++
HRESULT __safecall AS_DataRequest(const System::WideString ProviderName, System::OleVariant Data, System::OleVariant &__AS_DataRequest_result);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Win.TConnect.pas Datasnap.Win.TConnect.hpp |
Datasnap.Win.TConnect | TLocalConnection |
Description
Generates an OnDataRequest event on the specified provider component.
Use AS_DataRequest to invoke an OnDataRequest event handler of the provider named by ProviderName
. AS_DataRequest is provided to allow application developers to customize the communication between a client application and a provider component.