Table 2-19
Connection type properties and parameters
Description
Parameter
Property
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
■
TCP/IP
■
SPX
■
NetBIOS
■
ISDN via CAPI 2.0
■
Modem name (as it appears on the
computer)
String
<CHostData>.ConnectionType(String)
Sets the connection type that is defined in the
string to active status.
String
<CHostData>.AssignConnection(String)
Sets the connection type that is defined in the
string to inactive status.
String
<CHostData>.UnassignConnection(String)
The following table describes the connection type properties and return values.
In
Table 2-20
, replace the information in angle brackets with the actual values.
Table 2-20
Connection type properties and return values
Description
Return value
Property
Returns the connection type of the host
object.
String
String = <CHostData>.ConnectionTypes
39
Visual Basic object definitions
CHostData properties