Datasnap.Midas.IAppServer.AS_DataRequest
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.Midas.pas Datasnap.Midas.hpp
| |
Unit: Datasnap.Midas | |
Parent: IAppServer |
Delphi
function AS_DataRequest(const ProviderName: OleStr; Data: OleVariant): OleVariant; safecall;
C++
virtual HRESULT __safecall AS_DataRequest(const System::Types::OleStr ProviderName, System::OleVariant Data, System::OleVariant &__AS_DataRequest_result) = 0 ;
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. 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.