iCalUId 的最大长度

Max length of iCalUId

在 Outlook 日历中创建事件时,您会得到一些 ID 来帮助 "track" 事件,我有一个数据库并想像这样存储 iCalUIdKalenderEventId nvarchar(max) null 但我可以' 找到该对象的最大长度。 iCalUId 的长度是多少?

来自this blog post

(...) the EWS item identifier should be contained in a fixed-width column of 512 characters

同样在 post 中也有说明,我们可能希望 EWS 标识符长度 而不是 被更改(不要认为它是一成不变的,而是 不太可能改变).

来自docs directly

  • 如果您要将项目 ID 存储在数据库中以供以后检索,我们建议字段大小为 512 字节,这样它就足以容纳 GUID。

Related question (but more general)