Datasnap.DSTCPServerTransport.TDSTCPChannel.GetConnection

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetConnection: TObject;

C++

System::TObject* __fastcall GetConnection();

Description

Returns the connection object for this channel, if one is available.

The SessionId method returns the connection object for this channel, if one is available. The return value is generally an instance of TIdTCPConnection.

See Also