示例
以下示例展示了如何使用连接名称为新创建的 autECLPS 对象设置连接。
DIM autECLPSObj as Object
DIM NumRows as Long
Set autECLPSObj = CreateObject("ZIEWin.autECLPS")
' Initialize the connection
autECLPSObj.SetConnectionByName("A")
' For example, get the number of rows in the PS
NumRows = autECLPSObj.NumRows