ConnectionType PropertyConnectionType Property*
*



Contents  *



Index  *Topic Contents
*Previous Topic: ConnectionState Property
*Next Topic: ConvertedString Property

ConnectionType Property

Returns the type of connection (IRC or IRCX) established with the chat server.

Syntax

value=object.ConnectionType

Parameters

valueA variable of enumConnectionType type. The enumConnectionType is made of the values ctIRC = 0 and ctIRCX = 1.
objectRequired. An object expression that evaluates to an MsChatPr control.

Remarks

Access is read-only.

If a server is an IRCX server, the control automatically switches to the IRCX mode at connection time.

The ConnectionType property is accessible as soon as the OnConnectionState event is fired after calling the Connect method, or as soon as the OnConnectionState event is fired after calling the Login method.

Example

Dim ct As enumConnectionType
ct = MsChatPr1.ConnectionType

See Also

Connect, Login, OnConnectionState


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.