ExportToXML Method

Description

Exports the specified object repository to the specified XML file.

Important Information

This method can be used only to export shared object repositories (*.tsr files).  Local object repositories cannot be exported.

Syntax

object.ExportToXML(SourceFile, TargetFile)

Syntax Details

ArgumentDescription
objectAn expression evaluating to an object of type ObjectRepositoryUtil.
SourceFileRequired. A String value. The full name and path of the object repository you want to export to XML.
TargetFileRequired. A String value. The full name and path of the XML file to which you want to export the object repository. The XML file must be a new file (one that does not already exist). The folder path must be an existing one.

Return Type

A Variant value.  The full name of the new XML file.