QPR Knowledge Base 2017.1

Quit

Quit

Previous topic Next topic No directory for this topic  

Quit

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

Revision history:

Introduced in QPR 7.2.1

Last changed in QPR 2012.2

 

Shuts down QPR Modeling Client.

 

Synopsis:

 

PGApplication.Quit(Save | No Save)

 

Parameters:

 

Save (1): Save possible changes to the model before closing

No Save (0): Do not save changes even if the model was changed.

 

Required Rights:

 

None.

 

Return Values:

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

 

RV_SUCCESS

RV_CANNOT_CLOSE_MODEL

RV_FUNCTION_CANNOT_BE_USED_IN_VALIDATION_SCRIPT

 

Example Procedure:

 

Sub EndSession

 PGApplication.Quit(1)

End Sub