public string GetExecutionOptions(string ItemPath, out RSScheduleDefinitionOrReference Item)
        {
            ScheduleDefinitionOrReference item = null;
            string outval = rs.GetExecutionOptions(ItemPath, out item);

            Item = (RSScheduleDefinitionOrReference)Converter.Convert(item);
            return(outval);
        }
        public void RndGetReportHistoryOptions()
        {
            IContentManager instance  = this.ContentManager;
            string          rndReport = GetOrCreateNextReport();
            bool            keepReportHistSnapshot        = false;
            RSScheduleDefinitionOrReference schedDefOrRef = null;
            bool historyCollected = false;

            if (!string.IsNullOrEmpty(rndReport))
            {
                historyCollected = instance.SoapAccessor.Management.GetItemHistoryOptions(rndReport, out keepReportHistSnapshot, out schedDefOrRef);

                // should verify? Would be nice.
            }
        }
        public bool GetItemHistoryOptions(string ItemPath, out bool KeepExecutionSnapshots, out RSScheduleDefinitionOrReference Item)
        {
            ScheduleDefinitionOrReference item = null;
            bool outval = rs.GetItemHistoryOptions(ItemPath, out KeepExecutionSnapshots, out item);

            Item = (RSScheduleDefinitionOrReference)Converter.Convert(item);
            return(outval);
        }
        public void SetItemHistoryOptions(string ItemPath, bool EnableManualSnapshotCreation, bool KeepExecutionSnapshots, RSScheduleDefinitionOrReference Item)
        {
            ScheduleDefinitionOrReference item = (ScheduleDefinitionOrReference)Converter.Convert(Item);;

            rs.SetItemHistoryOptions(ItemPath, EnableManualSnapshotCreation, KeepExecutionSnapshots, item);
        }
        public void SetExecutionOptions(string ItemPath, string ExecutionSetting, RSScheduleDefinitionOrReference Item)
        {
            ScheduleDefinitionOrReference item = (ScheduleDefinitionOrReference)Converter.Convert(Item);

            rs.SetExecutionOptions(ItemPath, ExecutionSetting, item);
        }