QPR Knowledge Base 2017.1

DeleteModel

DeleteModel

Previous topic Next topic No directory for this topic  

DeleteModel

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

Revision history:

Introduced in QPR 7.2.1

 

Deletes the current model. If the user interface is hidden, no confirmations are asked. Model is deleted permanently and cannot be restored. All commands return RV_MODEL_NOT_OPEN after execution of this function (until another model is opened or created).

 

Synopsis:

 

SCModel.DeleteModel

 

Parameters:

 

None.

 

Required Rights:

 

Administrator or Model Administrator rights to the SCModel.

 

Return Values:

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

 

RV_NO_RIGHTS

RV_CANNOT_LOCK_MODEL

RV_SUCCESS

RV_MODEL_NOT_OPEN

RV_CANCELLED

RV_UNKNOWN_ERROR

 

Example Procedure:

 

iRet = oModel.DeleteModel