开发者

Delete a contacts folder on an exchange server from a console application

I am trying to delete a folder with contacts on an exchange server. I'm doing this in a c# console application.

However when I use the deleteFolder method on the exchangeServiceBinding it returns the following message:开发者_如何学Python

"Distinguished folders cannot be deleted." Searching for the error results in the following: This error occurs when an attempt is made to delete a distinguished folder.

What is a "Distinguished folder" in exchange, how can a folder be a "Distinguished folder".


It is one of the special folder and Outlook relies on it being in the mailbox. Outlook would not let you delete those folder either. Other default folders are Inbox, Sent Items, Outbox, Drafts, Tasks, Calendar, Journal.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜