IBM Cognos Sample Programs
DeleteReport.sln - Delete a report from IBM Cognos Connection.
The C# DeleteReport sample program lets you delete a specified report from IBM Cognos Connection.
Dependent Files
All associated files are contained in the bin directory of the csharp directory.
How To Run The Sample Program
Launch the command window and navigate to the sample program directory. Type
DeleteReport.exe [--test SearchPath]
Where:
--test is the run automated test option.
searchPath is the search path for the object(s) to delete during the test.
A new window will be opened.
Expected Results
Confirmation of the report deletion will appear in
the window.
The automated test option deletes the specified
reports and prints the results.
Documentation
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'.
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.