QPR Knowledge Base 2017.1

ExportModel

ExportModel

Previous topic Next topic No directory for this topic  

ExportModel

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

Revision history:

Introduced in QPR 7.2.1

 

Export model to a .qprmem file. Confirmation is asked from the user for export if a file with the same name already exists. This confirmation is not asked if user interface is hidden.

 

Synopsis:

 

SCModel.ExportModel(FilePathName)

 

Parameters:

 

FilePathName: String. "C:\examplemodel.qprmem" for example.

 

Required Rights:

 

Administrator or Model Administrator rights to the SCModel.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_MODEL_NOT_OPEN

RV_NO_RIGHTS

RV_CANCELLED

RV_INVALID_MODEL_PATH

RV_CANNOT_LOCK_MODEL

RV_UNKNOWN_ERROR

 

Example Procedure:

 

iRet = oModel.ExportModel("c:\test.qprmem")