lsxECLConnList Class
The lsxECLConnList class manages the Personal Communications connections on a system. An lsxECLConnList object contains a list of all the connections that are currently available on the system. Each element of the connection list is an lsxECLConnection object. lsxECLConnection objects can be queried to determine the state of the associated connection. See lsxECLConnection Class for details on its methods and properties.
An lsxECLConnList object provides a snapshot of the current connections on a system. The Refresh method provides a way to take a new snapshot of the connections on a system. The order of the connections in the lsxECLConnList is undefined and could change as a result of calling the Refresh method.
There are two ways to create an lsxECLConnList object:
- Create a new lsxECLConnList object by using the new statement.
There are no parameters used when creating the lsxECLConnList object.
The following is an example of creating an lsxECLConnList object:
' Create an lsxECLConnList object dim myCListObj as new lsxECLConnList - Create an lsxECLConnMgr object and an lsxECLConnList object is
automatically created. Access the lsxECLConnList attribute of the
lsxECLConnMgr object to get to the lsxECLConnList object contained
in the lsxECLConnMgr object. The following is an example of accessing
the lsxECLConnList object contained in an lsxECLConnMgr object:
dim myCMgrObj as new lsxECLConnMgr dim myCListObj as lsxECLConnList ' Get the lsxECLConnList object from inside the lsxECLConnMgr set myCListObj = myCMgrObj.lsxECLConnList