View Single Post
  #1  
Old February 22nd 11, 01:33 PM
ChristianHGermany ChristianHGermany is offline
Junior Member
 
First recorded activity at Outlookbanter: Feb 2011
Posts: 2
Default 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
Ads