1.3.5 Connection Object

The ports represent an endpoint of the remote access or demand-dial connectivity. As a part of the individual device process of establishing the underlying connectivity, there is data available at runtime. The data is represented as connection objects. The connections can be enumerated using RRasAdminConnectionEnumEx or RRasAdminConnectionEnum. Each connection is associated with a connection handle that can be used to refer to a specific connection instance. This can be obtained through the RRasAdminPortEnum or RRasAdminPortGetInfo methods. RRasAdminConnectionGetInfo or RRasAdminConnectionGetInfoEx enable the retrieval of the connection-specific information. Other than these, the connection-specific tasks that can be performed are as follows: