<HTML> <HEAD> <!-- Licensed Materials - Property of IBM IBM Cognos Products: DOCS (C) Copyright IBM Corp. 2005, 2008 US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. --> <TITLE>IBM Cognos Software Development Kit C# ViewReports Program Sample</TITLE> <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css"> </HEAD> <BODY> <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif"> IBM Cognos Sample Programs</p> <p class="FormLabel">ViewReports.exe - Query the Content Store and Display All Reports.</p> <p class="formText">The C# ViewReports sample program lets you query the content store for all reports and display the results.</p> <br> <!-- * * * * * * * * * --> <!-- --> <!-- Dependent Files --> <!-- --> <!-- * * * * * * * * * --> <p class="FormLabel">Dependent Files</p> <p class="formText">All associated files are contained in the bin directory of the csharp directory.</p> <!-- * * * * * * * * * --> <!-- --> <!-- How To Run --> <!-- --> <!-- * * * * * * * * * --> <p class="FormLabel">How To Run The Sample Program</p> <p class="formText">Launch the command window and navigate to the sample program bin directory in the csharp directory. Type<br><br>ViewReports.exe [--test]<br> Where: --test is the run an automated test option.<br><br> A new window will be opened.</p> <!-- * * * * * * * * * --> <!-- --> <!-- Expected Results --> <!-- --> <!-- * * * * * * * * * --> <p class="FormLabel">Expected Results</p> <p class="formText">Navigate to the desired path. All reports for the path selected will be displayed.</p> <!-- * * * * * * * * * --> <!-- --> <!-- Documentation --> <!-- --> <!-- * * * * * * * * * --> <p class="FormLabel">Documentation</p> <p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p> <p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p> </BODY> </HTML>