The get_scenario_data API function lets you get the scenario IDs.
Arguments
The get_scenario_data API function includes the arguments described in the following table:
Name |
Type |
Description |
---|---|---|
session_id |
uint |
The session ID that was returned by calling the create_session API. |
scenario_id |
uint |
The scenario ID. |
Return Values
The return values provide the data for the scenario.
Example
public bool get_scenario_data_example() { try { uint scenario_id = _scenario_id; string scenario_data_str = get_mng().get_scenario_data(session_id.scenario_id); return true; } catch (Exception ex) { System.Windows.Forms.MessageBox.Show(ex.Message); } return false; }
Copyright © 2015 Arcserve.
All rights reserved.
|
|