how to set "delivery type" to FTP ?

izzy
izzy Newcomer

Is it possible to set the delivery type of a BondScheduleReportTemplate to "FTP" ? If so - how? The last line gives an error.

BondScheduleReportTemplate myBondScheduleReportTemplate = new BondScheduleReportTemplate();
myBondScheduleReportTemplate.Name = "myBondScheduleTemplate";
myBondScheduleReportTemplate.OutputFormat = ReportOutputFormat.CommaSeparatedValues;
myBondScheduleReportTemplate.ShowColumnHeaders = true; myBondScheduleReportTemplate.DeliveryType = "Ftp";

Thanks in advance!

Best Answer

Answers