title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
SimpleItems.Session property (Outlook) |
vbaol11.chm3395 |
|
|
5445d76f-658c-babf-87cf-44efd75a208a |
06/08/2017 |
medium |
Returns the NameSpace object for the current session. Read-only.
expression.Session
expression A variable that represents a 'SimpleItems' object.
This property returns Null (Nothing in Visual Basic) if there is no logged-on session.
Use the Session property and the GetNamespace method interchangeably to obtain the NameSpace object for the current session. Both members serve the same purpose. For example, the following statements perform the same function:
Set objNamespace = Application.GetNamespace("MAPI")
Set objSession = Application.Session
[!includeSupport and feedback]