Datasnap.DSSession.TDSTunnelService.InitializeSession

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function InitializeSession(Params: TStrings; RemoteIP: string = ''): TDSTunnelSession; overload;
function InitializeSession(Params: TStrings; ClientInfo: TDBXClientInfo): TDSTunnelSession; overload;

C++

TDSTunnelSession* __fastcall InitializeSession(System::Classes::TStrings* Params, System::UnicodeString RemoteIP = System::UnicodeString())/* overload */;
TDSTunnelSession* __fastcall InitializeSession(System::Classes::TStrings* Params, const Data::Dbxtransport::TDBXClientInfo &ClientInfo)/* overload */;

Description

Initializes the session pointed to by the specified parameter value for dss.

The InitializeSession method initializes the session pointed to by the specified parameter value for dss.

Note: If the value of the dss parameter is 0, then a new session will be created and the value for dss in the given Params will be replaced.

See Also