Datasnap.DSSession.TDSSessionManager.SetAsThreadSession

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

class procedure SetAsThreadSession(Session: TDSSession);

C++

__classmethod void __fastcall SetAsThreadSession(TDSSession* Session);

Description

Sets the given session as the session for the thread calling this method.

The SetAsThreadSession method is used to set the given session as the session for the thread calling this method.

See Also