Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerMethods

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 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 */;

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