IWFAdminService svc = GetAdminService();
try
{
WFReportConfigure[] reportConfigs = svc.GetAllReportConfigure();
Console.WriteLine("This AgilePoint Server has {0} reports
configured:", reportConfigs.Length);
foreach (WFReportConfigure config in reportConfigs)
{
Console.WriteLine("Report Name: {0}", config.ReportName);
}
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
/*
This example produces the following results:
This AgilePoint Server has 1 reports configured:
Report Name:Average Process Time By Automatic Activities
*/