Reminders.Session 属性 (Outlook)Reminders.Session Property (Outlook)

返回当前会话的**NameSpace** 对象。Returns the NameSpace object for the current session. 只读。Read-only.

语法Syntax

expressionexpression. Session

_表达式_一个表示Reminders对象的变量。expression A variable that represents a Reminders object.

注释Remarks

Session属性和**GetNamespace** 方法可用于交替获取当前会话的NameSpace对象。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 do the same function:

Set objNamespace = Application.GetNamespace("MAPI") 
Set objSession = Application.Session

另请参阅See also

提醒对象Reminders Object