|
本帖最后由 hsjzfling 于 2011-3-22 10:52 编辑
回复 1# wxy5g
可以尝试下使用Recovery对象的Add方法,在代码中动态载入场景恢复文件
Description
Adds the specified recovery scenario to the specified position.
Syntax
object.Add ScenarioFile, ScenarioName, [Position]
Syntax Details Argument | Description | object | An expression evaluating to an object of type Recovery | ScenarioFile | Required. A String value. The recovery scenario file containing the recovery scenario you want to add. You can specify a complete or relative path. | ScenarioName | Required. A String value. The name of the recovery scenario you want to add. | Position | Optional. A Long value. The position in which you want to add the recovery scenario. Position values begin with 1.
If you do not specify a position, the recovery scenario is added to the end of the list (position=-1). |
|
|