XML Import Export

Meta Data Services Programming

Meta Data Services Programming

XML Import Export

This section describes the methods used for importing, exporting, and transferring data from one Microsoft® SQL Server™ 2000 Meta Data Services repository to another.

XML Exporter is a utility that exports objects from a Microsoft repository by using Open Information Model (OIM) XML Encoding. The export is handled by a COM component that has the MSMDCXML.IExport program identifier (ID). The component publishes one interface, IExport. Through this interface, the client can specify which repository objects to export and initiate the export process. Because it is a dual interface, it can be used by both COM and Automation.

Topic Description
XML IExport Interface Overview Describes the IExport interface and shows the Interface Definition Language (IDL) definition
IExport::_NewEnum Method Explains the NewEnum method of the IExport interface and provides Automation syntax
IExport::Add Method Explains the Add method of the IExport interface and provides Automation syntax
IExport::Clear Method Explains the Clear method of the IExport interface and provides Automation syntax
IExport::Count Property Explains the Count property of the IExport interface and provides Automation syntax
IExport::Export Method Explains the Export method of the IExport interface and provides Automation syntax
IExport::GetXML Method Explains the GetXML method of the IExport interface and provides Automation syntax
IExport::Item Method Explains the Item method of the IExport interface and provides Automation syntax
IExport::Remove Method Explains the Remove method of the IExport interface and provides Automation syntax

The import process uses an Extensible Markup Language (XML) document to create OIM instances in a Meta Data Services repository. The OIM describes the structure as well as the semantics of the transferred elements. The COM component is used for XML importing MSMDCXML.IImport program ID. The component publishes one interface, IImport. Through this interface, the client can specify which objects to import and initiate the import process. Because it is a dual interface, it can be used by both COM and Automation.

Topic Description
XML IImport Interface Overview Describes the IExport interface and IDL definition
IImport::ImportXML Method Explains the ImportXML method of the IImport interface and provides Automation syntax
IImport::ImportXMLString Method Explains the ImportXMLString method of the IImport interface and provides Automation syntax

See Also

Using XML Encoding

XML Encoding Errors

XML Encoding Reference