本文介绍了一种枚举/搜索jokers扩展属性的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,有没有办法使用EWS托管API 1.0或网络服务来枚举,删除或删除符合特定条件的所有扩展属性?
我使用的是多个名为所有以同一个字符串开头的属性(DefaultExtendedPropertySet.PublicStrings),我想一次删除所有这些属性。

但是我需要提一下它们的确切名称一个ExtendedPropertyDefinition来让它们通过一个BindToItems()调用,我无法枚举它们。
同样的调用RemoveExtendedProperty(),我找不到一种允许我删除具有通用名称变体的几个小丑 new ExtendedPropertyDefinition DefaultExtendedPropertySet .PublicStrings, " test *" MapiPropertyType .String);

感谢提前发言

Hello

Is there a way using EWS Managed API 1.0 or web services to enumerate, or delete all extended properties that match a specific criteria?
I am using several named properties (DefaultExtendedPropertySet.PublicStrings) that all starts with the same string, and I'd like to delete all of them by once.

But as I need to mention their exact name an ExtendedPropertyDefinition to get them through a BindToItems() call, I cannot enumerate them.
And the same for calling RemoveExtendedProperty(), I couldn't find a kind of joker to allow me to delete severals with a common name variation

For example to delete test1, test2, test3, would be great to be allow to mention kind of
new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "test*", MapiPropertyType.String);

Thanks by advance
Nicolas

推荐答案


这篇关于一种枚举/搜索jokers扩展属性的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 02:45