The Remove method removes a PITimeZoneInfo object from permanent storage on this system.
The Remove method syntax has these parts:
|object||An object expression that evaluates to a PITimeZoneInfos collection.|
|ZoneID||The time zone name (ZoneRulesName) or UID (ZoneID) to remove.|
If a DeviceZoneName references a TimeZoneInfo ZoneID (UID) the tseINUSE error is returned. It is not an error if if a TimeZoneInfo ZoneRulesName is referenced by a DeviceZoneName.
In addition to generic errors (such as Out of Memory), the following errors may occur:
|tseNAMENOTFOUND||The passed ZoneID was not found.|
|tseINUSE||The time zone was referenced by a DeviceZone and could not be removed.|