/// <summary>
 /// Remove all the synchronisation properties from this item.
 /// </summary>
 /// <param name="olItem">The item from which the property should be removed.</param>
 public static void ClearSynchronisationProperties(this Outlook.AppointmentItem olItem)
 {
     /* it doesn't actually matter whether we use CallSyncState or MeetingSyncState here,
      * since the constants are stored on Synchroniser */
     olItem.ClearUserProperty(SyncStateManager.CrmIdPropertyName);
     olItem.ClearUserProperty(SyncStateManager.ModifiedDatePropertyName);
     olItem.ClearUserProperty(SyncStateManager.TypePropertyName);
 }
Beispiel #2
0
 /// <summary>
 /// Remove all the synchronisation properties from this item.
 /// </summary>
 /// <param name="olItem">The item from which the property should be removed.</param>
 public static void ClearSynchronisationProperties(this Outlook.AppointmentItem olItem)
 {
     olItem.ClearUserProperty(Synchroniser <Outlook.AppointmentItem> .CrmIdPropertyName);
     olItem.ClearUserProperty(Synchroniser <Outlook.AppointmentItem> .ModifiedDatePropertyName);
     olItem.ClearUserProperty(Synchroniser <Outlook.AppointmentItem> .TypePropertyName);
 }