none
Getting ItemId(s) using ExchangeService.CreateItems (managed API) RRS feed

  • Question

  • Hi,

    I would like to get the contact itemId(s) when using CreateItems method but I don't know how.

    Could you please help me ?

    List<Contact> contacts = new List<Contact>();
    // build contacts
    ServiceResponseCollection<ServiceResponse> response = service.CreateItems(contacts, WellKnownFolderName.Contacts, null, null);
    foreach (var item in results) {
        // How to retrieve the ItemId from item ??
    }

    Thanks
                   


    Wednesday, May 4, 2011 12:36 PM