Session Object

The Session object is the top-level, or main, object of the CDO library. It is the first object you create, and it provides (through its methods and properties) the link to all other objects you need to use. The Session object's position in the object model means that you are likely to use it in every CDO program you create; however, it also means that the code you write with it is likely to perform a similar set of actions every time.

Session Properties

As a top-level object, Session has many properties (see Table A.1) that describe key characteristics of the current MAPI connection.

Table A.1. Properties of the Session Object
NameReturnsDescription
SessionSessionRead Only. Returns a reference to itself (common property of many ...

Get Exchange & Outlook®: Constructing Collaborative Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.