QPR Knowledge Base

GetModelProperty

Hide Navigation Pane

GetModelProperty

Previous topic Next topic No expanding text in this topic  

GetModelProperty

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.4.1 SP5

 

Returns the value of the model property defined in the function call.

 

Synopsis:

 

SCModel.GetModelProperty(PropertyName, out Value)

 

Parameters:

 

PropertyName: String. Name of the property for which the value is requested. Supported properties:

ModelArchived: Returns True or False depending on whether the model is archived.

out Value: Variant. Variant for the returned value.

 

Required Rights:

 

Administrator or model administrator.

 

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_SUCCESS

RV_NO_RIGHTS

RV_PROPERTY_NOT_SUPPORTED

RV_NO_DATA

RV_UNKNOWN_ERROR

 

Example Procedure:

 

iRet = SCModel.GetModelProperty("ModelArchived", bArchived)

Comments (...)