46 Visual Basic object definitions
CHostData properties
Connection type properties
Property
<CHostData>.ConnectionType(String)
<CHostData>.AssignConnection(String)
<CHostData>.UnassignConnection(String)
Table 2-52
describes the connection type properties and parameters. Replace
the information in angle brackets with the actual values.
Table 2-52
Connection type properties and parameters
Parameter Description
String
Sets the connection type of the host. The value
that is passed in must be a valid connection type
as defined by the FirstConnectionType() and
NextConnectionType() functions.
The following are examples of valid connection
types:
COM1
■
COM2
■
COM3
■
COM4
■
LPT1
■
LPT2
■
LPT3
■
LPT4
■
TCP/IP
■
SPX
■
NetBIOS
■
Infrared
■
ISDN via CAPI 2.0
■
Modem name (as it appears on the computer)
■
String
Sets the connection type that is defined in the
string to active status.
String
Sets the connection type that is defined in the
string to inactive status.