【发布时间】:2019-11-07 17:21:58
【问题描述】:
我正在应用这个过滤器:
var date = new DateTime(2019, 06, 20).ToUniversalTime().ToString("dd/MM/yyyy HH:mm");
MAPITable mt = session.Stores.MAPITable;
mt.Item = inbox.Items;
var records = mt.ExecSQL($"select Subject, EntryID from Inbox Where \"urn:schemas:httpmail:datereceived\" > {date}");
我遇到了这个异常:
ConsoleApplication1.exe 中出现“System.Runtime.InteropServices.COMException”类型的未处理异常
附加信息:不支持的运算符:/
应该可以做这种过滤器吗? [带 > 运算符]
【问题讨论】:
-
我也尝试过使用“ReceivedTime”
标签: outlook-addin outlook-redemption