Datasnap.DSCommonServer.TDSServerMethodProvider.GetServerClasses

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 GetServerClasses(const ServerCon: TDSServerConnectionHandler; const Classes: TDSClassEntity); overload;
procedure GetServerClasses(const Container: TJSONArray); overload;

C++

void __fastcall GetServerClasses(TDSServerConnectionHandler* const ServerCon, Datasnap::Dscommontable::TDSClassEntity* const Classes)/* overload */;
void __fastcall GetServerClasses(System::Json::TJSONArray* const Container)/* overload */;

Description

Populates the given container with the list of registered classes.

The GetServerClasses method populates the given Container with the list of registered classes. Container is a JSON array.

Tip: The specified container is expected to have a size of maximum 2 digits, otherwise a stream is recommended.

See Also