Datasnap.Win.MtsRdm.TMtsDataModule.AS_DataRequest
Delphi
function AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; safecall;
C++
HIDESBASE HRESULT __safecall AS_DataRequest(const System::WideString ProviderName, const System::OleVariant Data, System::OleVariant &__AS_DataRequest_result);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Datasnap.Win.MtsRdm.pas Datasnap.Win.MtsRdm.hpp |
Datasnap.Win.MtsRdm | TMtsDataModule |
Description
Generates an OnDataRequest event on the specified provider component. {{#multireplace:Datasnap.Win.MtsRdm.TMtsDataModule.AS DataRequest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Datasnap.DataBkr.TRemoteDataModule.AS_DataRequest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Datasnap.DataBkr.TRemoteDataModule.AS_DataRequest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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. There is no predefined meaning for the Data parameter or the return value (Delphi) or the AS_DataRequest _result parameter (C++), which is returned to the caller.
Note: Applications can only call the protected AS_DataRequest method using the TRemoteDataModule interface.