本文介绍了使用WebDAV访问定期约会的例外时发出问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够弄清楚,当一个定期约会实例的时间/主题/主体发生变化时,它会作为主记录的附件存储在交换数据存储区中。 br />所以,如果我在本月的每一天从上午10点到上午11点举行定期会议,如果我在15日到下午5点到下午6点更改会议时间,主记录将有一个附件。如果我再更改一个实例,比如20,下午4点到下午5点,主记录将有两个附件。

I was able to figure out that, when a time/subject/body of an instance of a recurring appointment is changed, it is stored in the exchange datastore as an attachment to the master record.
So, if I have a recurring meeting for every single day of this month from 10 Am to 11 AM, and if I change the time of the meeting on 15th to 5 PM to 6 PM, the master record will have one attachment. If I change one more instance, say on 20th, to 4 PM to 5 PM, the master record will have two attachment.

但我遇到的一个问题是如下...

如果我如上所述更改定期约会的两个实例的时间,并且主记录有两个嵌入类型的附件,我得到两个附件 两者的地址相同 http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML/No Subject.EML

If I change the time for two instances of the recurring appointment as described above, and if the master record has two attachments of embedded type, I get two attachments both with same address as http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML/NoSubject.EML

因此,当我使用此URL获取约会时,我总是得到已更改的第一个实例的详细信息(即上例中的第15个 ) 。
我没有像20日那样得到后续更改的细节。

Due to this, when I use this URL to get the appointment
I always get the details of the first instances that has been changed (i.e. on 15th  in the above example).
I am not getting the details of the subsequent changes like that of 20th.

你能帮我吗?有这个问题。

Can you please help me with this issue.

我使用的是Exchange Server 2003,以下库是WebDAV包装器... http://www.independentsoft.com/webdavex/index.html

I am using Exchange Server 2003 and the following library was a WebDAV wraper... http://www.independentsoft.com/webdavex/index.html

Attachment [] attachment = objExchangeConnection.ExcgResource.GetAttachment ("" exchangeserver / exchange / exchange.user /Calendar/AN78.EML"");
if(attachment!= null&& attachment.Length> 0)
{
for(int i = 0; i< attachment.Length; i ++)
{
if(attachment [i] .Type == AttachmentType.AttachEmbeddedItem)
{
约会objAppointment = objExchangeConnection.ExcgResource.GetAppointment(attachment [i] .Address);
//这是问题,附件[i]。地址始终为" / exchange / / Calendar / AN78.EML / No Subject.EML"
}
}
}

Attachment[] attachment = objExchangeConnection.ExcgResource.GetAttachment (""http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML"");
                  if(attachment != null && attachment.Length > 0)
                  {
                        for(int i = 0; i< attachment.Length; i ++)
                        {
                              if(attachment[i].Type == AttachmentType.AttachEmbeddedItem)
                              {
                                    Appointment objAppointment = objExchangeConnection.ExcgResource.GetAppointment(attachment[i].Address);
                                   //  This is the problem, attachment[i].Address  is always "http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML/No Subject.EML"
                              }
                        }
                  }

推荐答案


  • 定期约会

  • 会议功能

    注意:会议功能包括发送,修改和取消会议。

  • Recurring appointments
  • Meeting functionality

    Note: Meeting functionality includes sending, modifying, and canceling meetings.

对于需要与Exchange 2000 Server或Exchange Server 2003具有复杂日历功能的应用程序,我们建议您使用以下API:

For applications that require complex calendaring functionality with Exchange 2000 Server or with Exchange Server 2003, we recommend that you use the following APIs:


  • Exchange 2000 Server的协作数据对象(CDOEX)

  • 协作数据对象(CDO)1.21

  • Outlook对象模型

希望这会有所帮助。


这篇关于使用WebDAV访问定期约会的例外时发出问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 02:47