CalendarObjectUpdatePropertyTimeZoneId Method
This helper method can be used to update a time zone ID in the passed date/time property
Namespace: EWSoftware.PDI.ObjectsAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
protected static void UpdatePropertyTimeZoneId(
BaseDateTimeProperty dateProp,
string oldId,
string newId
)
Protected Shared Sub UpdatePropertyTimeZoneId (
dateProp As BaseDateTimeProperty,
oldId As String,
newId As String
)
protected:
static void UpdatePropertyTimeZoneId(
BaseDateTimeProperty^ dateProp,
String^ oldId,
String^ newId
)
static member UpdatePropertyTimeZoneId :
dateProp : BaseDateTimeProperty *
oldId : string *
newId : string -> unit
Parameters
- dateProp BaseDateTimeProperty
- The date/time property to check
- oldId String
- The old ID being replaced
- newId String
- The new ID to use
If the property's current time zone ID matches the old ID, it is replaced with the new ID