Introduced in QPR 7.6.1 SP2
Refresh the reference elements for a single element, scorecard or for the whole model selected by TargetObjectId.
TargetObjectId: Integer. If TargetObjectId refers to a measure type of element, then refresh is done to that element only. If TargetObjectId refers to a scorecard, then refresh is done to all the elements in the scorecard. If TargetObjectId = 0, then refresh is done to the whole model. These options are the same as in the user interface, in the Drill Down tab of the Element Properties window in QPR Metrics client.
Administrator or Model Administrator rights to the SCModel.
Below are listed the return values that this function can return:
iRet = SCModel.Refreshdrilldown(0) 'refresh for whole model