RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule.GetParams Method

Fetches current parameter values from the dataset bound to a specified provider.

Pascal
function GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant;
C++
__fastcall OleVariant GetParams(const BSTR ProviderName, OleVariant OwnerData);

GetParams provides the underlying implementation of the AS_GetParams method (on the IAppServer interface) and the SAS_GetParams method (on the IAppServerSOAP interface). 

ProviderName specifies the name of the provider component whose dataset has the parameters to fetch.  

OwnerData represents custom information that originates in a client dataset's BeforeGetParams event handler and returns information that is passed to the client dataset's AfterGetParams event handler. 

GetParams returns the parameters, encoded as a Variant array, or, if the provider does not support parameter fetching, GetParams returns a Null Variant. Use the UnpackParams procedure to convert parameter values returned by GetParams to a TParams object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!