Used to return the thread ID of the current connection.
property ThreadId: cardinal;
Use the ThreadId property to return the thread ID of the current connection. This value can be used as an argument to TMyServerControl.KillProcess to kill the thread.