Calendar.Items.Find(..) is very slow with Exchange 2010
Hi,
the following code runs using Exchange 2003 much more faster than with Exchange 2010. The data amount is the same.
Dim oAppointments As clsAppointments
Set oAppointments = New clsAppointments
Dim oItems As Outlook.Items
Set oItems = oCalendar.Items
oItems.Sort "[Start]"
oItems.IncludeRecurrences = True
Dim oTemp As Object
Set oTemp = oItems.Find(strSearchParam) ' - These call needs 5x longer using Exchange 2010 than using Exchange 2003
'strSearchParam contains the value:
'[End] "Montag, 7. Februar 2011 00:00" and [Start] = "Sonntag, 13. Februar 2011 23:59"
What do I have to consider using Exchange 2010? Do I have to configure something on the Exchange 2010?
Thanks
Christian
|