Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerMethod
Delphi
procedure GetServerMethod(const ServerMethodName: string; const Container: TJSONObject);
C++
void __fastcall GetServerMethod(const System::UnicodeString ServerMethodName, System::Json::TJSONObject* const Container);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSCommonServer.pas Datasnap.DSCommonServer.hpp |
Datasnap.DSCommonServer | TDSServerMethodProvider |
Description
Populates the container with the server method metadata.
The GetServerMethod method populates the given container with the server method metadata.
Each entry is:
'methodName':{parameterSignature}
If the method cannot be found, then the entry is:
'methodName':null
GetServerMethod takes in two parameters:
ServerMethodName
--the server class method name.Container
--the container to withhold the server methods.