Datasnap.DSCommonServer.TDSServerMethodCommandHandler.ClearResources

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function ClearResources: Boolean; override;

C++

virtual bool __fastcall ClearResources();

Description

Clears all allocated resources for the parameters of the server method.

Call the ClearResources method to clear all allocated resources for the parameters of the server method. ClearResources returns True if all allocated resources were freed, False otherwise.

If a deallocation fails and False is returned, ClearResources will continue the deallocation of the remaining resources.