1

when creating events in outlook calendar you get a few ids to help "track" the event, I have a database and want to store iCalUId like so: KalenderEventId nvarchar(max) null but I can't find the max length of that object. What is the length of iCalUId?

Ako
  • 93
  • 2
  • 13

1 Answers1

3

From this blog post:

(...) the EWS item identifier should be contained in a fixed-width column of 512 characters

Also also stated in the same post, we might expect EWS identifier length to not be changed (do not consider it as set in stone but rather very unlikely to be changed).

From docs directly:

  • If you are going to store the item ID in a database to retrieve later, we recommend that the field size be 512 bytes, so that it's large enough to hold the GUID.

Related question (but more general)

Robert Dyjas
  • 4,979
  • 3
  • 19
  • 34