Name

This property is the connection name string of the connection for which autECLSession was set. Z and I Emulator for Windows only returns the short character ID (A-Z or a-z) in the string. There can be only one Z and I Emulator for Windows connection open with a given name. For example, there can be only one connection “A” open at a time. Name is a String data type and is read-only. The following example shows this property.

DIM  Name as String
DIM  SessObj as Object
Set SessObj = CreateObject("ZIEWin.autECLSession")
 
' Initialize the session
SessObj.SetConnectionByName("A")
 
' Save the name
Name = SessObj.Name