Skip to main content
Table of Contents

TTMSMCPServer.GetSessionProtocolVersion Method

Returns the protocol version negotiated for a specific session, regardless of which request is currently being handled.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

TMS.MCP.Server.hppPascalC++
function GetSessionProtocolVersion(const SessionId: string): string;
System::UnicodeString __fastcall GetSessionProtocolVersion(const System::UnicodeString SessionId);

Parameters

Name Description
SessionId Identifier of the session to query.

Returns

Negotiated version string, or an empty string when the identifier is empty or unknown.