Visual Basic: MAPI Controls

SessionID Property (MAPIMessages Control)

See Also    Example    Applies To

Stores the current messaging session handle. This property is not available at design time.

Syntax

object.SessionID [ = value ]

The SessionID property syntax these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A long expression specifying the current session handle.

Remarks

This property contains the messaging session handle returned by the SessionID property of the MAPISession control. To associate the MAPIMessages control with a valid messaging session, set this property to the SessionID of a MAPISession control that was successfully signed on.