Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.13 KB

Outlook.SimpleItems.Session.md

File metadata and controls

52 lines (28 loc) · 1.13 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
SimpleItems.Session property (Outlook)
vbaol11.chm3395
vbaol11.chm3395
Outlook.SimpleItems.Session
5445d76f-658c-babf-87cf-44efd75a208a
06/08/2017
medium

SimpleItems.Session property (Outlook)

Returns the NameSpace object for the current session. Read-only.

Syntax

expression.Session

expression A variable that represents a 'SimpleItems' object.

Remarks

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

See also

SimpleItems Object

[!includeSupport and feedback]