public string CreateItemHistorySnapshot(string ItemPath, out RSWarning[] Warnings) { Warning[] warns = null; string outval = rs.CreateItemHistorySnapshot(ItemPath, out warns); Warnings = (RSWarning[])Converter.Convert(warns); return(outval); }
private void Button4_Click(object sender, EventArgs e) { try { Warning[] warn; _rs.CreateItemHistorySnapshot(Item.Path, out warn); FillSnapshots(); } catch (Exception ex) { MessageBox.Show(Resources.The_report_snapsoht_could_not_been_created_, Resources.ReportGeneratorTask_, MessageBoxButtons.OK, MessageBoxIcon.Error); } }