You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml
+19-16
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,18 @@
47
47
<SetDeviceCodeFlowCallback>
48
48
<paramname="deviceCodeFlowCallbackMethod">The callback method to be used with 'Active Directory Device Code Flow' authentication.</param>
49
49
<summary>Sets the callback method, overriding the default implementation that processes the result for 'Active Directory Device Code Flow' authentication.</summary>
50
+
<remarks>
51
+
<formattype="text/markdown">
52
+
<![CDATA[
53
+
54
+
## Examples
55
+
The following example demonstrates providing a custom device flow callback to SqlClient for the Device Code Flow authentication method:
Copy file name to clipboardExpand all lines: doc/snippets/Microsoft.Data.SqlClient/SqlParameter.xml
+3-3
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ If you do not perform this conversion, the compiler assumes that you are trying
115
115
<paramname="parameterName">The name of the parameter to map.</param>
116
116
<paramname="dbType">One of the <seecref="T:System.Data.SqlDbType" /> values.</param>
117
117
<paramname="size">The length of the parameter.</param>
118
-
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update" />.</param>
118
+
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />>.</param>
119
119
<summary>Initializes a new instance of the <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the <seecref="T:System.Data.SqlDbType" />, the size, and the source column name.</summary>
120
120
<remarks>
121
121
<formattype="text/markdown"><![CDATA[
@@ -143,7 +143,7 @@ If you do not perform this conversion, the compiler assumes that you are trying
143
143
<seelangword="true" /> if the value of the field can be null; otherwise, <seelangword="false" />.</param>
144
144
<paramname="precision">The total number of digits to the left and right of the decimal point to which <seecref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param>
145
145
<paramname="scale">The total number of decimal places to which <seecref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param>
146
-
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update" />.</param>
146
+
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param>
147
147
<paramname="sourceVersion">One of the <seecref="T:System.Data.DataRowVersion" /> values.</param>
148
148
<paramname="value">An <seecref="T:System.Object" /> that is the value of the <seecref="T:Microsoft.Data.SqlClient.SqlParameter" />.</param>
149
149
<summary>Initializes a new instance of the <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> class that uses the parameter name, the type of the parameter, the size of the parameter, a <seecref="T:System.Data.ParameterDirection" />, the precision of the parameter, the scale of the parameter, the source column, a <seecref="T:System.Data.DataRowVersion" /> to use, and the value of the parameter.</summary>
@@ -171,7 +171,7 @@ If you do not perform this conversion, the compiler assumes that you are trying
171
171
<paramname="direction">One of the <seecref="T:System.Data.ParameterDirection" /> values.</param>
172
172
<paramname="precision">The total number of digits to the left and right of the decimal point to which <seecref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param>
173
173
<paramname="scale">The total number of decimal places to which <seecref="P:Microsoft.Data.SqlClient.SqlParameter.Value" /> is resolved.</param>
174
-
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update" />.</param>
174
+
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />>.</param>
175
175
<paramname="sourceVersion">One of the <seecref="T:System.Data.DataRowVersion" /> values.</param>
176
176
<paramname="sourceColumnNullMapping">
177
177
<seelangword="true" /> if the source column is nullable; <seelangword="false" /> if it is not.</param>
Copy file name to clipboardExpand all lines: doc/snippets/Microsoft.Data.SqlClient/SqlParameterCollection.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ This overload is useful when you are adding a parameter of a variable-length dat
108
108
<paramname="parameterName">The name of the parameter.</param>
109
109
<paramname="sqlDbType">One of the <seecref="T:System.Data.SqlDbType" /> values.</param>
110
110
<paramname="size">The column length.</param>
111
-
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update" />.</param>
111
+
<paramname="sourceColumn">The name of the source column (<seecref="P:Microsoft.Data.SqlClient.SqlParameter.SourceColumn" />) if this <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> is used in a call to <seecref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />.</param>
112
112
<summary>Adds a <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> to the <seecref="T:Microsoft.Data.SqlClient.SqlParameterCollection" /> with the parameter name, the data type, and the column length.</summary>
113
113
<returns>A new <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.</returns>
0 commit comments