Revision history:
Introduced in QPR 7.2.1
Saves the current model under a new name to server
Synopsis:
SCModel.SaveAs(ModelName)
Parameters:
Modelname: String. Name for the model, must not be similar with existing model.
Required Rights:
Administrator or Model Administrator rights to the SCModel.
Return Values:
Below are listed the return values that this function can return:
RV_SUCCESS
RV_MODEL_NOT_OPEN
RV_NO_RIGHTS
RV_NAME_IS_RESERVED
RV_CANNOT_LOCK_MODEL
RV_UNKNOWN_ERROR
Example Procedure:
iRet = SCModel.SaveAs("New Name")