Repository.BlockSim.ExportBlockSimXMLFile

From ReliaWiki
Revision as of 16:47, 22 May 2015 by Alex Ulanov (talk | contribs)
Jump to navigation Jump to search


This Synthesis API allows the programmer to export XML files out of a current project of BlockSim.

Syntax

  • ExportBlockSimXMLFile( FileName As String ) As Boolean

Parameters

FileName: XML file name.

Returns True if successful, otherwise returns False.

Usage Example

' Declare a new repository connection class. 
Private WithEvents MyRepository As New Repository

' Connect to the Synthesis repository. 
DimSuccessAs Boolean=False
 Success = MyRepository.ConnectToSQLRepository("SQLServerPath", "SQLDatabaseName")

' Export the XML File out of the Synthesis repository. 
DimSuccessExportXMLAs Boolean
 SuccessExportXML = MyRepository.ExportBlockSimXMLFile("XML_File_Name")