Please enable JavaScript to view this site.

QPR Knowledge Base 2023.1

  •      
  • Navigation: Developer's Guide > QPR API > The Object Model > QPR Modeling > PGApplication Commands

    Quit

    Scroll Prev Top Next More

    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