Datasnap.DSSession.TDSSessionManager.CloseSession

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSSessionManager

Delphi

procedure CloseSession(SessionId: string); overload;

C++

void __fastcall CloseSession(System::UnicodeString SessionId)/* overload */;

Description

Closes the session identified by the given session ID.

The CloseSession method is used to close the session identified by the given SessionId. The session object is freed and no further access to it is expected.

See Also