DumpToFile Method (PITimeZoneInfos Collection)

See Also     Example     Applies To    


The DumpToFile method writes the contents of an existing PITimeZoneInfo object to a file.


object.DumpToFile ZoneID, FileName

The DumpToFile method syntax has these parts:

Part Description
object An object expression that evaluates to a PITimeZoneInfos collection.
ZoneID String containing unique ZoneID of PITimeZoneInfo object to be written to file.
FileName The file name to create. The file will be created in the current directory if no path is included.



The settings for ZoneID are:

Setting Description




Trappable Errors

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

Error Description
tseNAMENOTFOUND The time zone to write was not found.

Enabling Operational Intelligence