Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerMethods

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetServerMethods(const ServerCon: TDSServerConnectionHandler; const Methods: TDSMethodEntity); overload;
procedure GetServerMethods(const ClassName: string; const Container: TJSONArray); overload;

C++

void __fastcall GetServerMethods(TDSServerConnectionHandler* const ServerCon, Datasnap::Dscommontable::TDSMethodEntity* const Methods)/* overload */;
void __fastcall GetServerMethods(const System::UnicodeString ClassName, System::Json::TJSONArray* const Container)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSCommonServer.pas
Datasnap.DSCommonServer.hpp
Datasnap.DSCommonServer TDSServerMethodProvider

Description

Retrieves and populates the container with the list of available methods the class offers for DataSnap calls.

The GetServerMethods method populates the given container with the server method metadata.

GetServerMethods takes in two parameters:

  • ClassName--the server class method name.
  • Container--the container to be populated with method names.

See Also