Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerMethod

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSCommonServer.pas
Datasnap.DSCommonServer.hpp
Unit: Datasnap.DSCommonServer
Parent: TDSServerMethodProvider

Delphi

procedure GetServerMethod(const ServerMethodName: string; const Container: TJSONObject);

C++

void __fastcall GetServerMethod(const System::UnicodeString ServerMethodName, System::Json::TJSONObject* const Container);

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.

See Also