Outlook Items Restrict Method Not Returning correct result
What I am trying to Do?
I am trying to build an bi directional outlook addin for outlook contacts. For doing this I have to get the contacts that are newly created in outlook. 

What am I doing?
When contacts are downloaded from the server they contain a ContactId. I store that into outlook CustomerID. This helps me to compare the contacts and figure out update and delete scenarios. 

No, when New Contacts are created I am assuming there CustomerID would be null and using [Restrict Method][1]. I should be able to retrieve all newly created contact. But when I use "[CustomerID] is null" as my filter string it is returning all the contacts. What should be right query am I doing something wrong. 

Help is really appreciated 

  [1]: http://msdn.microsoft.com/en-us/library/bb220369%28v=office.12%29.aspx
Outlook Items Restrict Method Not Returning correct result
===

What I am trying to Do?
I am trying to build an bi directional outlook addin for outlook contacts. For doing this I have to get the contacts that are newly created in outlook. 

What am I doing?
When contacts are downloaded from the server they contain a ContactId. I store that into outlook CustomerID. This helps me to compare the contacts and figure out update and delete scenarios. 

No, when New Contacts are created I am assuming there CustomerID would be null and using [Restrict Method][1]. I should be able to retrieve all newly created contact. But when I use "[CustomerID] is null" as my filter string it is returning all the contacts. What should be right query am I doing something wrong. 

Help is really appreciated 

  [1]: http://msdn.microsoft.com/en-us/library/bb220369%28v=office.12%29.aspx