Partager via


AccountSelector.Session Property (Outlook)

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

Version Information

Version Added: Outlook 2010

Syntax

expression .Session

expression A variable that represents an AccountSelector object.

Remarks

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

You can use the Session property and the GetNamespace method of the Application object interchangeably to obtain the NameSpace object for the current session.

See Also

Concepts

AccountSelector Object Members

AccountSelector Object