home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / cpref.chm / html / frlrfsystemdatasqlsqlparameterclasssourceversiontopic.htm < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  3.6 KB  |  84 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <HTML DIR=LTR>
  3. <HEAD>
  4. <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
  5. <TITLE>SQLParameter.SourceVersion</TITLE>
  6. <SCRIPT src="vs70link.js"></SCRIPT>
  7. <SCRIPT src="vs70.js"></SCRIPT>
  8. </HEAD>
  9. <body topmargin="0" id="bodyID" class = "dtBODY">
  10. <object id="obj_cook" classid="clsid:59CC0C20-679B-11D2-88BD-0800361A1803" style="display:none;"></object>
  11.  
  12. <div id="nsbanner">
  13. <div id="bannerrow1">
  14. <TABLE CLASS="bannerparthead" CELLSPACING=0>
  15. <TR ID="hdr">
  16. <TD CLASS="runninghead" nowrap>NGWS SDK Documentation</TD>
  17. <TD CLASS="product" nowrap> </TD>
  18. </TR>
  19. </TABLE>
  20. </div>
  21. </div>
  22. <DIV id="nstext" valign="bottom">
  23. <br>
  24. <font color=ff0000 size="1"><i>This is preliminary documentation and subject to change.</i></font>
  25. <br>
  26. <font size="1"><i>To comment on this topic, please send us email at <a href="mailto:ngwssdk@microsoft.com">ngwssdk@microsoft.com</a>. Thanks!</i></font>
  27. <br>
  28. <br>
  29.  
  30. <H1 class="dtH1"><A NAME="frlrfsystemdatasqlsqlparameterclasssourceversiontopic"></A>SQLParameter.SourceVersion</H1>
  31.  
  32. <P>Gets or sets the <A href="frlrfsystemdatadatarowversionclasstopic.htm">DataRowVersion</A> to use when loading <A href="frlrfsystemdataadoadoparameterclassvaluetopic.htm">Value</A>.</P>
  33.  
  34. <PRE class="syntax"><SPAN class="lang">[Visual Basic]
  35. </SPAN><B>Overridable Public Property SourceVersion As DataRowVersion
  36. </B><SPAN class="lang">[C#]
  37. </SPAN><B>public DataRowVersion SourceVersion {virtual get; virtual set;}
  38. </B><SPAN class="lang">[C++]
  39. </SPAN><B>public: __property virtual DataRowVersion get_SourceVersion();
  40. public: __property virtual void set_SourceVersion(DataRowVersion);
  41. </B><SPAN class="lang">[JScript]
  42. </SPAN><B>public function get SourceVersion() : DataRowVersion;
  43. public function set SourceVersion(DataRowVersion);</B></PRE>
  44.  
  45. <H4 class="dtH4">Property Value</H4>
  46.  
  47. <P>One of the <A href="frlrfsystemdatadatarowversionclasstopic.htm">DataRowVersion</A> values. The default is <B>Current</B>.</P>
  48.  
  49. <H4 class="dtH4">Exceptions</H4>
  50. <!--TS:--><div class="tablediv"><table cellspacing="0" class="dtTABLE">
  51.  
  52. <TR VALIGN="top">
  53. <TH width=50%>Exception Type</TH>
  54. <TH width=50%>Condition</TH>
  55. </TR>
  56.  
  57. <TR VALIGN="top">
  58. <TD width=50%><B>InvalidDataRowVersion</B></TD>
  59. <TD width=50%>The value set is not one of the <A href="frlrfsystemdatadatarowversionclasstopic.htm">DataRowVersion</A> values.</TD>
  60. </TR>
  61. </table></div>
  62. <!--TS:-->
  63. <H4 class="dtH4">Remarks</H4>
  64.  
  65. <P>This property is used by the <A href="frlrfsystemdatasqlsqldatasetcommandclassupdatecommandtopic.htm">UpdateCommand</A> during the <A href="frlrfsystemdatainternaldbdatasetcommandclassupdatetopic.htm">Update</A> to determine if the original or current value is used for a parameter value. This allows primary keys to be updated. This property is ignored by the <A href="frlrfsystemdatasqlsqldatasetcommandclassinsertcommandtopic.htm">InsertCommand</A> or <A href="frlrfsystemdatasqlsqldatasetcommandclassdeletecommandtopic.htm">DeleteCommand</A>.</P>
  66.  
  67. <H4 class="dtH4">See Also</H4>
  68.  
  69. <P><A href="frlrfsystemdatasqlsqlparameterclasstopic.htm">SQLParameter Class</A> | <A href="frlrfsystemdatasqlsqlparametermemberstopic.htm">SQLParameter Members</A> | <A href="frlrfsystemdatasql.htm">System.Data.SQL Namespace</A></P>
  70. <div class="footer">
  71. <p>
  72. <center><font color="navy" size="1">Build number 1812.</font></center>
  73. <p>
  74. </div>
  75. <div class="footer">
  76. <br>
  77. <center><font size="1"><a href="copybeta_nonconfidential.htm">© 2000 Microsoft Corporation. All rights reserved.</a></font></center>
  78. <br>
  79. </div>
  80. </div>
  81.  
  82. </BODY>
  83. </HTML>
  84.