PageRenderTime 53ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 1ms

/Katmai_August2008_RTM/HelloWorld/README_HelloWorld.htm

#
HTML | 570 lines | 489 code | 79 blank | 2 comment | 0 complexity | f360e43c1ba89d9d2acaede7e70d2f7d MD5 | raw file
  1. <html DIR="LTR" xmlns:tool="http://www.microsoft.com/tooltip" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
  2. <head>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" />
  4. <META NAME="save" CONTENT="history" />
  5. <title>Readme_HelloWorld Sample</title>
  6. <style TYPE="text/css">
  7. body
  8. {
  9. background: #FFFFFF;
  10. color: #000000;
  11. font-family: Verdana;
  12. font-size: medium;
  13. font-style: normal;
  14. font-weight: normal;
  15. margin-top: 0;
  16. margin-bottom: 0;
  17. margin-left: 0;
  18. margin-right: 0;
  19. width: 100%;
  20. }
  21. div.#mainSection
  22. {
  23. font-size: 70%;
  24. width: 100%;
  25. padding-left: 10;
  26. margin-right: 10;
  27. }
  28. div.#mainBody
  29. {
  30. font-size: 90%;
  31. margin-top: 10;
  32. padding-bottom: 20;
  33. }
  34. div.#header
  35. {
  36. background-color: #D2D2D2;
  37. padding-top: 0;
  38. padding-bottom: 0;
  39. padding-left: 10;
  40. padding-right: 0;
  41. width: 100%;
  42. }
  43. div.#header table
  44. {
  45. border-bottom-color: #C8CDDE;
  46. border-bottom-style: solid;
  47. border-bottom-width: 1;
  48. width: 100%;
  49. }
  50. span.#runningHeaderText
  51. {
  52. color: #003399;
  53. font-size: 90%;
  54. }
  55. span.#nsrTitle
  56. {
  57. /* color: #003399;*/
  58. font-size: 120%;
  59. font-weight: 600;
  60. }
  61. div.#header table td
  62. {
  63. color: #000000;
  64. font-size: 70%;
  65. margin-top: 0;
  66. margin-bottom: 0;
  67. padding-right: 20;
  68. }
  69. div.#header table tr.#headerTableRow3 td
  70. {
  71. padding-bottom: 2;
  72. padding-top: 5;
  73. }
  74. div.#header table.#bottomTable
  75. {
  76. border-top-color: #FFFFFF;
  77. border-top-style: solid;
  78. border-top-width: 1;
  79. text-align: left;
  80. }
  81. div.#footer
  82. {
  83. font-size: 90%;
  84. margin-top: 0;
  85. margin-bottom: 0;
  86. margin-left: -5;
  87. margin-right: 0;
  88. padding-top: 2;
  89. padding-bottom: 2;
  90. padding-left: 0;
  91. padding-right: 0;
  92. width: 100%;
  93. }
  94. hr.#footerHR
  95. {
  96. border-bottom-color: #EEEEFF;
  97. border-bottom-style: solid;
  98. border-bottom-width: 1;
  99. border-top-color: C8CDDE;
  100. border-top-style: solid;
  101. border-top-width: 1;
  102. height: 3;
  103. color: #D2D2D2;
  104. }
  105. div.section
  106. {
  107. padding-top: 2;
  108. padding-bottom: 2;
  109. padding-right: 15;
  110. width: 100%;
  111. }
  112. .heading
  113. {
  114. color: #000000;
  115. font-weight: bold;
  116. margin-top: 18;
  117. margin-bottom: 8;
  118. }
  119. h1.heading
  120. {
  121. color: #000000;
  122. font-size: 150%;
  123. }
  124. .subHeading
  125. {
  126. color: #000000;
  127. font-weight: bold;
  128. font-size: 150%;
  129. margin-bottom: 4;
  130. }
  131. h2.subHeading
  132. {
  133. color: #000000;
  134. font-weight: bold;
  135. font-size: 130%;
  136. }
  137. h3.subHeading
  138. {
  139. color: #000000;
  140. font-size: 125%;
  141. font-weight: bold;
  142. }
  143. h4.subHeading
  144. {
  145. color: #000000;
  146. font-size: 110%;
  147. font-weight: bold;
  148. }
  149. h4.procedureHeading
  150. {
  151. color: #000080;
  152. font-size: 110%;
  153. font-weight: bold;
  154. }
  155. h5.subHeading
  156. {
  157. color: #000000;
  158. font-size: 100%;
  159. font-weight: bold;
  160. }
  161. img
  162. {
  163. padding-bottom: 10;
  164. }
  165. img.toggle
  166. {
  167. border: 0;
  168. margin-right: 5;
  169. padding-bottom: 10;
  170. }
  171. img.copyCodeImage
  172. {
  173. border: 0;
  174. margin: 1;
  175. margin-right: 3;
  176. padding-bottom: 10;
  177. }
  178. img.downloadCodeImage
  179. {
  180. border: 0;
  181. margin-right: 3;
  182. padding-bottom: 10;
  183. }
  184. img.viewCodeImage
  185. {
  186. border: 0;
  187. margin-right: 3;
  188. padding-bottom: 10;
  189. }
  190. img.note
  191. {
  192. border: 0;
  193. margin-right: 3;
  194. padding-bottom: 10;
  195. }
  196. img.#membersOptionsFilterImage
  197. {
  198. border: 0;
  199. margin-left: 10;
  200. vertical-align: middle;
  201. padding-bottom: 10;
  202. }
  203. img.#toggleAllImage
  204. {
  205. margin-left: 4;
  206. vertical-align: middle;
  207. padding-bottom: 10;
  208. }
  209. div.#mainSection table
  210. {
  211. border: 0;
  212. font-size: 100%;
  213. width: 100%;
  214. margin-top: 5px;
  215. margin-bottom: 15px;
  216. }
  217. div.#mainSection table tr
  218. {
  219. vertical-align: top;
  220. }
  221. div.#mainSection table th
  222. {
  223. text-align: left;
  224. background: #D8D8D8;
  225. border-bottom-color: #D8D8D8;
  226. border-bottom-style: solid;
  227. border-bottom-width: 1;
  228. color: #000000;
  229. padding-left: 5;
  230. padding-right: 5;
  231. }
  232. div.#mainSection table td
  233. {
  234. background: #F2F2F2;
  235. border-top-color: #D8D8D8;
  236. border-top-style: solid;
  237. border-top-width: 1;
  238. padding-left: 5;
  239. padding-right: 5;
  240. }
  241. div.#mainSection table td.imageCell
  242. {
  243. white-space: nowrap;
  244. }
  245. div.code
  246. {
  247. width: 98%;
  248. }
  249. div.code table
  250. {
  251. border: 0;
  252. font-size: 95%;
  253. margin-bottom: 5;
  254. width: 100%
  255. }
  256. div.code table th
  257. {
  258. text-align: left;
  259. background: #D8D8D8;
  260. border-bottom-color: #D8D8D8;
  261. border-bottom-style: solid;
  262. border-bottom-width: 1;
  263. color: #000000;
  264. font-weight: bold;
  265. padding-left: 5;
  266. padding-right: 5;
  267. }
  268. div.code table td
  269. {
  270. background: #CCCCCC;
  271. border-top-color: #D8D8D8;
  272. border-top-style: solid;
  273. border-top-width: 1;
  274. padding-left: 5;
  275. padding-right: 5;
  276. padding-top: 5;
  277. }
  278. div.alert
  279. {
  280. margin-left: 10;
  281. width: 98%;
  282. }
  283. div.alert table
  284. {
  285. border: 1;
  286. font-size: 100%;
  287. width: 100%;
  288. border: solid 1 #DEDFEF;
  289. }
  290. div.alert table th
  291. {
  292. text-align: left;
  293. background: #D8D8D8;
  294. border-bottom-width: 0;
  295. color: #000000;
  296. padding-left: 5;
  297. padding-right: 5;
  298. border: solid 1 #DEDFEF;
  299. }
  300. div.alert table td
  301. {
  302. background: #FFFFFF;
  303. border-top-color: #D8D8D8;
  304. border-top-style: solid;
  305. border-top-width: 1;
  306. padding-left: 5;
  307. padding-right: 5;
  308. border: solid 1 #DEDFEF;
  309. }
  310. span.copyCode
  311. {
  312. color: #0000ff;
  313. font-size: 90%;
  314. font-weight: normal;
  315. cursor: hand;
  316. float: right;
  317. display: inline;
  318. text-align: right;
  319. }
  320. .downloadCode
  321. {
  322. color: #0000ff;
  323. font-size: 90%;
  324. font-weight: normal;
  325. cursor: hand;
  326. }
  327. .viewCode
  328. {
  329. color: #0000ff;
  330. font-size: 90%;
  331. font-weight: normal;
  332. cursor: hand;
  333. }
  334. div.code pre
  335. {
  336. font-family: Monospace, Courier New, Courier;
  337. font-size: 105%;
  338. color: #000000;
  339. }
  340. code
  341. {
  342. font-family: Monospace, Courier New, Courier;
  343. font-size: 105%;
  344. color: #000000;
  345. }
  346. dl
  347. {
  348. margin-top: 0;
  349. padding-left: 1;
  350. }
  351. dd
  352. {
  353. margin-bottom: 0;
  354. margin-left: 0;
  355. padding-left: 20;
  356. }
  357. dd p
  358. {
  359. margin-top: 5;
  360. }
  361. ul
  362. {
  363. margin-left: 17;
  364. list-style-type: disc;
  365. }
  366. ul ul
  367. {
  368. margin-bottom: 4;
  369. margin-left: 17;
  370. margin-top: 3;
  371. list-style-type: disc;
  372. }
  373. ol
  374. {
  375. margin-left: 24;
  376. list-style-type: decimal;
  377. }
  378. ol ol
  379. {
  380. margin-left: 24;
  381. margin-top: 3;
  382. list-style-type: lower-alpha;
  383. }
  384. li
  385. {
  386. margin-top: 0;
  387. margin-bottom: 0;
  388. padding-bottom: 0;
  389. padding-top: 0;
  390. margin-left: 5;
  391. }
  392. p
  393. {
  394. margin-bottom: 15;
  395. }
  396. .tip
  397. {
  398. color: #0000FF;
  399. font-style: italic;
  400. cursor:hand;
  401. text-decoration:underline;
  402. }
  403. .math
  404. {
  405. font-family: Times New Roman;
  406. font-size: 125%
  407. }
  408. .sourceCodeList
  409. {
  410. font-family: Verdana;
  411. font-size: 90%;
  412. }
  413. pre.viewCode
  414. {
  415. width: 100%;
  416. overflow: auto;
  417. }
  418. li:hover table, li.over table
  419. {
  420. background-color: #C0C0C0;
  421. }
  422. li:hover ul, li.over ul
  423. {
  424. background-color: #d2d2d2;
  425. border: 1px solid #000;
  426. display: block;
  427. }
  428. </style>
  429. </head>
  430. <body>
  431. <!--Topic built:08/05/2008 01:28:33-->
  432. <div id="header">
  433. <table width="100%" id="topTable"><tr>
  434. <td align="left">
  435. <span id="nsrTitle">Readme_HelloWorld Sample</span>
  436. </td>
  437. <td align="right">
  438. <span id="headfb" class="feedbackhead">
  439. </span>
  440. </td>
  441. </tr></table>
  442. </div>
  443. <div id="mainSection">
  444. <div id="mainBody"><p> 08/05/2008 01:28:33</p>
  445. <font color="DarkGray"> </font><p />
  446. <span id="changeHistory">
  447. </span>
  448. <p>The Hello World sample provides a simple Service Broker application that shows you how to send and receive a message by using Service Broker.</p>
  449. <p>
  450. Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator.
  451. </p>
  452. <p>Before running this sample, make sure that SQL Server is installed, including the following components:</p>
  453. <ul><li>
  454. SQL Server Database Engine
  455. <br />
  456. </li><li>
  457. The AdventureWorks<b> </b>sample database <br />
  458. </li><li>
  459. Database Engine Samples<br />
  460. </li></ul>
  461. <h1 class="heading">Running the Sample</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  462. <h4 class="procedureHeading" xmlns="">To run the sample</h4><div id="procedureSectionEBBDBHA" class="section" xmlns=""><ol><li>
  463. <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  464. <p xmlns="">Open the project file in SQL Server Management Studio.</p>
  465. </content>
  466. </li><li>
  467. <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  468. <p xmlns="">Run Setup.sql. This script creates the Service Broker objects for the services.</p>
  469. </content>
  470. </li><li>
  471. <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  472. <p xmlns="">Open SendMessage.sql, select all lines from the beginning of the file to the comment End Selection Here' and run selected part of the script. This part of the script begins a dialog conversation from InitiatorService to TargetService and sends a message on this conversation.</p>
  473. </content>
  474. </li><li>
  475. <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  476. <p xmlns="">Run ReceivesMessages.sql. This script receives Service Broker messages from the TargetQueue, displays the messages and ends the corresponding conversations at the target.</p>
  477. </content>
  478. </li><li>
  479. <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  480. <p xmlns="">Open SendMessage.sql, select all lines from the comment End Selection Here' to the end of the file and run selected part of the script. This part of the script waits for a response message, displays the message and ends the corresponding conversation at the initiator.</p>
  481. </content>
  482. </li></ol></div>
  483. </content></div><!--[if gte IE 5]>
  484. <tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/><tool:tip element="roleInfoSpan" avoidmouse="false"/>
  485. <![endif]--></div>
  486. <div id="footer">
  487. © 2008 Microsoft Corporation. All rights reserved.
  488. </div>
  489. </div>
  490. </body>
  491. </html>