Datasnap.DSProviderDataModuleAdapter.TDSProviderDataModuleAdapter.AS_DataRequest

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function  AS_DataRequest(const ProviderName: WideString;  DataStream: OleVariant): OleVariant;

C++

System::OleVariant __fastcall AS_DataRequest(const System::WideString ProviderName, const System::OleVariant &DataStream);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSProviderDataModuleAdapter.pas
Datasnap.DSProviderDataModuleAdapter.hpp
Datasnap.DSProviderDataModuleAdapter TDSProviderDataModuleAdapter

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 DataStream parameter or the return value (Delphi) or AS DataRequest _result parameter (C++).

Note: Applications can only call the AS DataRequest method using the IAppServer interface.

See Also