Show: Delphi
C++
Display Preferences
Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerMethod
From XE2 API Documentation
Delphi
procedure GetServerMethod(const ServerMethodName: UnicodeString; const Container: TJSONObject);
C++
void __fastcall GetServerMethod(const System::UnicodeString ServerMethodName, const Data::Dbxjson::TJSONObject* 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.