Datasnap.DSSession.TDSTunnelService.CanCloseSession

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSTunnelService

Delphi

class function CanCloseSession(var id: string): Boolean;

C++

__classmethod bool __fastcall CanCloseSession(System::UnicodeString &id);

Description

Specifies whether the current session should be closed.

The CanCloseSession method returns True if the current session ID signals the session closure, and False otherwise.

See Also