Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.12 KB

Outlook.StorageItem.Session.md

File metadata and controls

52 lines (28 loc) · 1.12 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
StorageItem.Session property (Outlook)
vbaol11.chm2139
vbaol11.chm2139
Outlook.StorageItem.Session
e3a005d0-daa3-853b-e603-c084ffb5d1db
06/08/2017
medium

StorageItem.Session property (Outlook)

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

Syntax

expression.Session

expression A variable that represents a StorageItem object.

Remarks

Returns Null (Nothing in Visual Basic) if there is no logged-on session.

The Session property and the GetNamespace method can be used 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

StorageItem Object

[!includeSupport and feedback]