private string GetScheduleDescription(JobSchedule schedule)
        {
            SimpleJobSchedule sjs = SimpleJobSchedule.FromJobScheduleData
                                    (
                new JobScheduleData(schedule)
                                    );
            string description = sjs.ToString();

            return(description != null ? description : string.Empty);
        }
예제 #2
0
        private string GetSimpleJobDescription()
        {
            SimpleJobSchedule sjs = SimpleJobSchedule.FromJobScheduleData(this);

            return(sjs.ToString());
        }