Share via


Visual Basic: MAPI Controls

SessionID Property (MAPISession Control)

See Also    Example    Applies To

Returns the current messaging session handle. This property is not available at design time, and is read only at run time.

Syntax

object.SessionID

The SessionID property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

This property is set when you specify the SignOn method. The SessionID property contains the unique messaging session handle. The default is 0.

Use this property to set the SessionID property of the MAPIMessages control.

Data Type

Long