GetQuickReportsList


Description: Returns the list of Quick Reports of the user.
Parameters: none
Return Value: Array of Quick Report objects

Example in Visual Basic .Net

Try
        'create an instance of the proxy class
        Dim BTService As New Elementool.BugTrackingWse
        'get an array of available quickreports
        RepList = BTService.GetQuickReportsList()
        'display message box with ID and Name of each report
        For Each Report As Elementool.QuickReport In RepList
            MsgBox(Report.ID & " - " & Report.Name)
        Next
 Catch ex As Exception
        MsgBox(ex.Message)
End Try

Example in C#

try
{
    //create an instance of the proxy class
    Elementool.BugTrackingWse BTService = new Elementool.BugTrackingWse();
    //get an array of available quickreports
    RepList = BTService.GetQuickReportsList();
    //display message box with ID and Name of each report
    foreach (Elementool.QuickReport Report in RepList)
    {
        MessageBox.Show(Report.ID + " - " + Report.Name);
    }
}
catch (Exception ex)
{
        MessageBox.Show(ex.Message);
}