SqlNotificationSource.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="SqlNotificationSource" FullName="System.Data.SqlClient.SqlNotificationSource">
  3. <TypeSignature Language="C#" Value="public enum SqlNotificationSource" />
  4. <AssemblyInfo>
  5. <AssemblyName>System.Data</AssemblyName>
  6. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  7. </AssemblyInfo>
  8. <Base>
  9. <BaseTypeName>System.Enum</BaseTypeName>
  10. </Base>
  11. <Docs>
  12. <since version=".NET 2.0" />
  13. <remarks>
  14. <attribution license="cc4" from="Microsoft" modified="false" />
  15. <para>The SqlNotificationSource enumeration is referenced by an instance of the <see cref="T:System.Data.SqlClient.SqlNotificationEventArgs" /> class.</para>
  16. <para>Query notifications are supported only for SELECT statements that meet a list of specific requirements. The following table provides links to the Service Broker and Query Notifications documentation in SQL Server Books Online. </para>
  17. <para>SQL Server Books Online</para>
  18. <list type="bullet">
  19. <item>
  20. <para>
  21. <see cref="http://msdn.microsoft.com/library/ms181122.aspx">Creating a Query for Notification</see>
  22. </para>
  23. </item>
  24. <item>
  25. <para>
  26. <see cref="http://msdn.microsoft.com/library/ms166059.aspx">Security Considerations for Service Broker</see>
  27. </para>
  28. </item>
  29. <item>
  30. <para>
  31. <see cref="http://msdn.microsoft.com/library/bb522911.aspx">Security and Protection (Service Broker)</see>
  32. </para>
  33. </item>
  34. <item>
  35. <para>
  36. <see cref="http://msdn.microsoft.com/library/ms172604.aspx">Security Considerations for Notifications Services</see>
  37. </para>
  38. </item>
  39. <item>
  40. <para>
  41. <see cref="http://msdn.microsoft.com/library/ms188311.aspx">Query Notification Permissions</see>
  42. </para>
  43. </item>
  44. <item>
  45. <para>
  46. <see cref="http://msdn.microsoft.com/library/ms166028.aspx">International Considerations for Service Broker</see>
  47. </para>
  48. </item>
  49. <item>
  50. <para>
  51. <see cref="http://msdn.microsoft.com/library/bb522899.aspx">Solution Design Considerations (Service Broker)</see>
  52. </para>
  53. </item>
  54. <item>
  55. <para>
  56. <see cref="http://msdn.microsoft.com/library/ms166100.aspx">Service Broker Developer InfoCenter</see>
  57. </para>
  58. </item>
  59. <item>
  60. <para>
  61. <see cref="http://msdn.microsoft.com/library/bb522908.aspx">Developer's Guide (Service Broker)</see>
  62. </para>
  63. </item>
  64. </list>
  65. <para />
  66. </remarks>
  67. <summary>
  68. <attribution license="cc4" from="Microsoft" modified="false" />
  69. <para>Indicates the source of the notification received by the dependency event handler.</para>
  70. </summary>
  71. </Docs>
  72. <Members>
  73. <Member MemberName="Client">
  74. <MemberSignature Language="C#" Value="Client" />
  75. <MemberType>Field</MemberType>
  76. <ReturnValue>
  77. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  78. </ReturnValue>
  79. <Docs>
  80. <since version=".NET 2.0" />
  81. <summary>
  82. <attribution license="cc4" from="Microsoft" modified="false" />
  83. <para>A client-initiated notification occurred, such as a client-side time-out or as a result of attempting to add a command to a dependency that has already fired.</para>
  84. </summary>
  85. </Docs>
  86. <AssemblyInfo>
  87. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  88. </AssemblyInfo>
  89. </Member>
  90. <Member MemberName="Data">
  91. <MemberSignature Language="C#" Value="Data" />
  92. <MemberType>Field</MemberType>
  93. <ReturnValue>
  94. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  95. </ReturnValue>
  96. <Docs>
  97. <since version=".NET 2.0" />
  98. <summary>
  99. <attribution license="cc4" from="Microsoft" modified="false" />
  100. <para>Data has changed; for example, an insert, update, delete, or truncate operation occurred.</para>
  101. </summary>
  102. </Docs>
  103. <AssemblyInfo>
  104. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  105. </AssemblyInfo>
  106. </Member>
  107. <Member MemberName="Database">
  108. <MemberSignature Language="C#" Value="Database" />
  109. <MemberType>Field</MemberType>
  110. <ReturnValue>
  111. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  112. </ReturnValue>
  113. <Docs>
  114. <since version=".NET 2.0" />
  115. <summary>
  116. <attribution license="cc4" from="Microsoft" modified="false" />
  117. <para>The database state changed; for example, the database related to the query was dropped or detached.</para>
  118. </summary>
  119. </Docs>
  120. <AssemblyInfo>
  121. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  122. </AssemblyInfo>
  123. </Member>
  124. <Member MemberName="Environment">
  125. <MemberSignature Language="C#" Value="Environment" />
  126. <MemberType>Field</MemberType>
  127. <ReturnValue>
  128. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  129. </ReturnValue>
  130. <Docs>
  131. <since version=".NET 2.0" />
  132. <summary>
  133. <attribution license="cc4" from="Microsoft" modified="false" />
  134. <para>The run-time environment was not compatible with notifications; for example, the isolation level was set to snapshot, or one or more SET options are not compatible.</para>
  135. </summary>
  136. </Docs>
  137. <AssemblyInfo>
  138. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  139. </AssemblyInfo>
  140. </Member>
  141. <Member MemberName="Execution">
  142. <MemberSignature Language="C#" Value="Execution" />
  143. <MemberType>Field</MemberType>
  144. <ReturnValue>
  145. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  146. </ReturnValue>
  147. <Docs>
  148. <since version=".NET 2.0" />
  149. <summary>
  150. <attribution license="cc4" from="Microsoft" modified="false" />
  151. <para>A run-time error occurred during execution.</para>
  152. </summary>
  153. </Docs>
  154. <AssemblyInfo>
  155. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  156. </AssemblyInfo>
  157. </Member>
  158. <Member MemberName="Object">
  159. <MemberSignature Language="C#" Value="Object" />
  160. <MemberType>Field</MemberType>
  161. <ReturnValue>
  162. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  163. </ReturnValue>
  164. <Docs>
  165. <since version=".NET 2.0" />
  166. <summary>
  167. <attribution license="cc4" from="Microsoft" modified="false" />
  168. <para>A database object changed; for example, an underlying object related to the query was dropped or modified.</para>
  169. </summary>
  170. </Docs>
  171. <AssemblyInfo>
  172. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  173. </AssemblyInfo>
  174. </Member>
  175. <Member MemberName="Owner">
  176. <MemberSignature Language="C#" Value="Owner" />
  177. <MemberType>Field</MemberType>
  178. <AssemblyInfo>
  179. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  180. </AssemblyInfo>
  181. <ReturnValue>
  182. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  183. </ReturnValue>
  184. <Docs>
  185. <summary>
  186. <attribution license="cc4" from="Microsoft" modified="false" />
  187. <para>Internal only; not intended to be used in your code.</para>
  188. </summary>
  189. </Docs>
  190. </Member>
  191. <Member MemberName="Statement">
  192. <MemberSignature Language="C#" Value="Statement" />
  193. <MemberType>Field</MemberType>
  194. <ReturnValue>
  195. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  196. </ReturnValue>
  197. <Docs>
  198. <since version=".NET 2.0" />
  199. <summary>
  200. <attribution license="cc4" from="Microsoft" modified="false" />
  201. <para>The Transact-SQL statement is not valid for notifications; for example, a SELECT statement that could not be notified or a non-SELECT statement was executed.</para>
  202. </summary>
  203. </Docs>
  204. <AssemblyInfo>
  205. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  206. </AssemblyInfo>
  207. </Member>
  208. <Member MemberName="System">
  209. <MemberSignature Language="C#" Value="System" />
  210. <MemberType>Field</MemberType>
  211. <ReturnValue>
  212. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  213. </ReturnValue>
  214. <Docs>
  215. <since version=".NET 2.0" />
  216. <summary>
  217. <attribution license="cc4" from="Microsoft" modified="false" />
  218. <para>A system-related event occurred. For example, there was an internal error, the server was restarted, or resource pressure caused the invalidation.</para>
  219. </summary>
  220. </Docs>
  221. <AssemblyInfo>
  222. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  223. </AssemblyInfo>
  224. </Member>
  225. <Member MemberName="Timeout">
  226. <MemberSignature Language="C#" Value="Timeout" />
  227. <MemberType>Field</MemberType>
  228. <ReturnValue>
  229. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  230. </ReturnValue>
  231. <Docs>
  232. <since version=".NET 2.0" />
  233. <summary>
  234. <attribution license="cc4" from="Microsoft" modified="false" />
  235. <para>The subscription time-out expired.</para>
  236. </summary>
  237. </Docs>
  238. <AssemblyInfo>
  239. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  240. </AssemblyInfo>
  241. </Member>
  242. <Member MemberName="Unknown">
  243. <MemberSignature Language="C#" Value="Unknown" />
  244. <MemberType>Field</MemberType>
  245. <AssemblyInfo>
  246. <AssemblyVersion>2.0.0.0</AssemblyVersion>
  247. </AssemblyInfo>
  248. <ReturnValue>
  249. <ReturnType>System.Data.SqlClient.SqlNotificationSource</ReturnType>
  250. </ReturnValue>
  251. <Docs>
  252. <summary>
  253. <attribution license="cc4" from="Microsoft" modified="false" />
  254. <para>Used when the source option sent by the server was not recognized by the client. </para>
  255. </summary>
  256. </Docs>
  257. </Member>
  258. </Members>
  259. </Type>