Remove Method, (DeviceTimeZones collection)

See Also     Example     Applies To    


The Remove method removes a relationship or mapping between a device name and a PITimeZoneInfo object.


object.Remove DeviceName

The Remove method syntax has these parts:

Part Description
object An object expression that evaluates to a DeviceTimeZonesobject.
DeviceName The identifier for the device to remove.


Removing a DeviceTimeZone does not remove the PITimeZoneInfo to which it is mapped.

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error Description
tseNOEMPTYSTRINGS Blank names not allowed.
tseNAMENOTFOUND The specified name was not found as a DeviceTimeZone
tseREGERROR An error occured removing the entry from the registry.
Enabling Operational Intelligence