CSharpSamples.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2005, 2008
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Software Development Kit C# Samples</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../webcontent/samples/samplesFonts.css">
  12. </HEAD>
  13. <BODY>
  14. <p class="headerTitle"><img src="../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  15. <p class="FormLabel">List of C# Sample Programs for IBM Cognos Software Development Kit</p>
  16. <p class="formText">The sample files are installed in subdirectories under the <em>installation_location</em>/sdk/csharp directory.
  17. Each sample is in its own subdirectory. These subdirectories are
  18. as follows:</p>
  19. <br>
  20. <p class="FormLabel">AddReport</p>
  21. <p class="formText">This sample demonstrates
  22. how to add a report to the content store based on an existing report
  23. specification. The explanation file is <a href="AddReport/CSharp_AddReport_Explain.html">AddReport/CSharp_AddReport_Explain.html</a></p>
  24. <p class="FormLabel">Cancel</p>
  25. <p class="formText">This sample cancels a running report. The explanation file is <a href="Cancel/CSharp_Cancel_Explain.html">Cancel/CSharp_Cancel_Explain.html</a>.</p>
  26. <p class="FormLabel">Capabilities</p>
  27. <p class="formText">This sample removes the Administration
  28. capability from the user running the sample. The explanation file is <a href="Capabilities/CSharp_Capabilities_Explain.html">Capabilities/CSharp_Capabilities_Explain.html</a>.</p>
  29. <p class="formText">This directory
  30. contains the user interface for the Capabilities sample. The methods
  31. used by this sample are in the Security directory.</p>
  32. <p class="FormLabel">CMQuery</p>
  33. <p class="formText">This sample gets the objects from the
  34. content store in the Folder/LOCATION specified by the search option. The explanation file is <a href="CMQuery/csharp_CMQuery_Explain.html">CMQuery/csharp_CMQuery_Explain.html</a>.</p>
  35. <p class="FormLabel">CMTester</p>
  36. <p class="formText">This sample tests whether the content
  37. store is operational. The explanation file is <a href="CMTester/csharp_CMTester_Explain.html">CMTester/csharp_CMTester_Explain.html</a>.</p>
  38. <p class="FormLabel">ContentStoreExplorer</p>
  39. <p class="formText">This sample displays all
  40. the objects in the content store. The explanation file is <a href="ContentStoreExplorer/csharp_CSExplorer_Explain.html">ContentStoreExplorer/csharp_CSExplorer_Explain.html</a>.</p>
  41. <p class="FormLabel">Copy</p>
  42. <p class="formText">This sample copies an object in the content
  43. store. The explanation file is <a href="Copy/CSharp_Copy_Explain.html">Copy/CSharp_Copy_Explain.html</a>.</p>
  44. <p class="FormLabel">CreateDrillThroughTarget</p>
  45. <p class="formText">This sample creates a drillthrough target.
  46. The explanation file is <a href="CreateDrillThroughTarget/CSharp_CreateDrillThroughTarget_Explain.html">CreateDrillThroughTarget/CSharp_CreateDrillThroughTarget_Explain.html</a>.</p>
  47. <p class="FormLabel">CreateReport</p>
  48. <p class="formText">This sample creates a report.
  49. The explanation file is <a href="CreateReport/CSharp_CreateReport_Explain.html">CreateReport/CSharp_CreateReport_Explain.html</a>.</p>
  50. <p class="FormLabel">DeleteReport</p>
  51. <p class="formText">This sample deletes a report that
  52. you specify. The explanation file is <a href="DeleteReport/csharp_DeleteReport_Explain.html">DeleteReport/csharp_DeleteReport_Explain.html</a>.</p>
  53. <p class="FormLabel">Email</p>
  54. <p class="formText">This sample demonstrates how to run a report
  55. and send the output as an email to a specific user. The IBM Cognos
  56. server must be configured with permissions to send email to a
  57. valid email server. For more information, see the <em>Administration
  58. and Security Guide</em>. The explanation file is <a href="Email/CSharp_Email_Explain.html">Email/CSharp_Email_Explain.html</a>.</p>
  59. <p class="FormLabel">ExecuteReport</p>
  60. <p class="formText">This sample contains methods for
  61. executing different types of reports. The explanation file is <a href="ExecuteReport/CSharp_ExecReports_Explain.html">ExecuteReport/CSharp_ExecReports_Explain.html</a>.</p>
  62. <p class="FormLabel">Move</p>
  63. <p class="formText">This sample moves an object in the content
  64. store. The explanation file is <a href="Move/CSharp_Move_Explain.html">Move/CSharp_Move_Explain.html</a>.</p>
  65. <p class="FormLabel">Permissions</p>
  66. <p class="formText">This sample denies the current user
  67. read permission to that user's MyFolders folder. The explanation file is <a href="Permissions/CSharp_Permissions_Explain.html">Permissions/CSharp_Permissions_Explain.html</a>.</p>
  68. <p class="formText">This
  69. directory contains the user interface for the Permissions sample.
  70. The methods used by this sample are in the Security directory.</p>
  71. <p class="FormLabel">PrintReport</p>
  72. <p class="formText">This sample prints a report that you
  73. specify. You can also add entries to the list of printers, or remove
  74. existing ones from it. The explanation file is <a href="PrintReport/CSharp_PrintReport_Explain.html">PrintReport/CSharp_PrintReport_Explain.html</a>.</p>
  75. <p class="formText">For information about setting
  76. up IBM Cognos services to use network printers on a Windows installation,
  77. see the <em>Administration and Security Guide</em></p>
  78. <p class="FormLabel">ReportParameters</p>
  79. <p class="formText">This sample gets or retrieves
  80. parameters associated with the specified report. The explanation file is <a href="ReportParameters/csharp_ReportParameters_Explain.html">ReportParameters/csharp_ReportParameters_Explain.html</a>.</p>
  81. <p class="FormLabel">reportrunner</p>
  82. <p class="formText">This sample runs a report that you
  83. specify, and produces results that are saved in HTML format.. The explanation file is <a href="reportrunner/csharp_reportrunner_Explain.html">reportrunner/csharp_reportrunner_Explain.html</a>.</p>
  84. <p class="FormLabel">SamplesCommon</p>
  85. <p class="formText">This sample includes many common
  86. classes that are used by the other C# .NET samples. It does not
  87. include a sample executable program, but instead builds a DLL that
  88. the other samples use. The explanation file is <a href="SamplesCommon/csharp_Common_Explain.html">SamplesCommon/csharp_Common_Explain.html</a>.</p>
  89. <p class="FormLabel">Save</p>
  90. <p class="formText">This sample runs a report that you specify,
  91. and saves the output or allows you to save it with a new name. The explanation file is <a href="Save/CSharp_Save_Explain.html">Save/CSharp_Save_Explain.html</a>.</p>
  92. <p class="FormLabel">Schedule</p>
  93. <p class="formText">This sample creates a new schedule for
  94. a report. The explanation file is <a href="Schedule/CSharp_Schedule_Explain.html">Schedule/CSharp_Schedule_Explain.html</a>.</p>
  95. <p class="FormLabel">Security</p>
  96. <p class="formText">These samples allow you to perform a
  97. number of security related tasks, such as logging on to a secured
  98. namespace, logging off, and displaying the current logon information.
  99. If you are not logged on when you attempt to display your logon
  100. information, you will be prompted to log on. The explanation file is <a href="Security/CSharp_Security_Explain.html">Security/CSharp_Security_Explain.html</a>.</p>
  101. <p class="formText">Although
  102. most of the samples will work when Anonymous access is enabled,
  103. they serve as more robust examples when a secured namespace is used.</p>
  104. <p class="FormLabel">Submit</p>
  105. <p class="formText">This sample creates a new job and submits it. The explanation file is <a href="Submit/CSharp_Submit_Explain.html">Submit/CSharp_Submit_Explain.html</a>.</p>
  106. <p class="FormLabel">ViewAll</p>
  107. <p class="formText">This sample displays a list of all packages,
  108. reports, and queries in the content store. The explanation file is <a href="ViewAll/csharp_ViewAll_Explain.html">ViewAll/csharp_ViewAll_Explain.html</a>.</p>
  109. <p class="FormLabel">ViewPackages</p>
  110. <p class="formText">This sample displays a list of all
  111. packages in the content store. The explanation file is <a href="ViewPackages/csharp_ViewPackages_Explain.html">ViewPackages/csharp_ViewPackages_Explain.html</a>.</p>
  112. <p class="FormLabel">ViewReports</p>
  113. <p class="formText">This sample displays a list of all
  114. reports, and queries in the content store. The explanation file is <a href="ViewReports/csharp_ViewReports_Explain.html">ViewReports/csharp_ViewReports_Explain.html</a>.</p>
  115. <!-- * * * * * * * * * -->
  116. <!-- -->
  117. <!-- Documentation -->
  118. <!-- -->
  119. <!-- * * * * * * * * * -->
  120. <p class="FormLabel">Documentation</p>
  121. <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>
  122. <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>
  123. </BODY>
  124. </HTML>