|
||
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