示例
以下示例展示了如何停止连接句柄标识的仿真器窗口。
Dim Mgr as Object
Dim Hand as Long
Set Mgr = CreateObject("ZIEWin.autECLConnMgr ")
' Assume we've got connections open and the Hand parm was obtained earlier
Mgr.StopConnection Hand, "saveprofile=no"
'or
Mgr.StopConnection "B", "saveprofile=no"