我应该为 Outlook 插件使用什么存储空间? [英] What storage should I use for a outlook plugin?

查看:25
本文介绍了我应该为 Outlook 插件使用什么存储空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我要使用 VSTO 部署 Outlook 插件,我应该使用什么存储系统?

What storage system should I use , If i'm going to deploy a outlook plugin with VSTO ?

是否可以使用用于电子邮件的 Outlook 的 ?

Is it possible to use outlook's , which is for email ?

更新

我考虑过 SQL Express ,但我认为我应该使用与 Outlook 使用的相同的东西,这样可以省去麻烦

I thought about SQL Express , but I think I should use the same thing with what outlook uses , that would save troubles

推荐答案

有很多选项供您考虑,下面我列出了我过去见过的所有选项.

There are numerous options for you to consider, below I've listed all the ones I've seen used in the past.

  1. 对于 Outlook 管理的存储,您可以考虑使用 StorageItem,它是给定文件夹(收件箱等)内的隐藏项目.使用 StorageItem,您可以添加 自定义用户属性 和文件附件.

  1. For Outlook-managed storage you could look into using StorageItem which is a hidden item inside a given folder (Inbox, etc.). Using the StorageItem you can add custom user properties and file attachments.

您还可以使用 PR_ATTR_HIDDEN 标志.添加任何邮件项目或日记项目只会对您的加载项可见​​,因为您可以通过 API 访问隐藏文件夹 - 但不能通过 Outlook 界面访问.

You can also create new Folder and mark it as hidden using the PR_ATTR_HIDDEN flag. Adding any mail items or journal items would only be visible to your add-in since you can access hidden folders via the API - but not via Outlook interface.

我还看到用户将信息存储在序列化为 XML 的 Outlook 日记项目中(正如 果冻仪表板).

I've also seen users store information inside Outlook journal items serialized as XML (as is done by jello-dashboard).

你可以通过AddStore 创建一个自定义存储来构建本地 PST.

You could create a custom store via AddStore to construct a local PST.

或者,您可以将数据存储在 Outlook 系统外部以供您的插件使用.外部存储可以是本地环境路径、本地/远程数据库或网络服务调用.

Alternately, you could store data external to the Outlook system for consumption by your addin. External stores could be local Environment paths, local/remote databases, or web service calls.

这篇关于我应该为 Outlook 插件使用什么存储空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆