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

Last changed in QPR 2012.2

 

Deletes the currently active server model.

 

Synopsis:

 

PGModel.DeleteModel

 

Parameters:

 

None.

 

Required Rights:

 

Administrator or model administrator rights to PGModel.

 

Return Values:

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

 

RV_APPLICATION_QUIT_CALLED

RV_NOT_CONNECTED_TO_SERVER

RV_NOT_AUTHENTICATED

RV_MODEL_NOT_OPEN

RV_MODEL_IS_NOT_SERVER_MODEL

RV_NO_RIGHTS_TO_MODEL

RV_UNKNOWN_ERROR

RV_SUCCESS

RV_FUNCTION_CANNOT_BE_USED_IN_VALIDATION_SCRIPT

 

Example Procedure:

 

iResult = PGModel.DeleteModel