|
1 |
| -<?xml version="1.0"?> |
2 |
| -<docs> |
| 1 | +<docs> |
3 | 2 | <members name="SqlConnectionEncryptOption">
|
4 | 3 | <SqlConnectionEncryptOption>
|
5 |
| - <summary>These options are used to control encryption behavior of the communication between the server and the client.</summary> |
| 4 | + <summary> |
| 5 | + These options are used to control encryption behavior of the communication between the server and the client. |
| 6 | + </summary> |
6 | 7 | <remarks>
|
7 |
| - <format type="text/markdown"><![CDATA[ |
8 |
| -
|
9 |
| -## Remarks |
10 |
| -Implicit conversions have been added to maintain backwards compatibility with boolean behavior for the <xref:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Encrypt%2A> property. When converting from a boolean, a value of `true` converts to <xref:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory%2A> and a value of `false` converts to <xref:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional%2A>. When converting to a boolean, <xref:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory%2A>, <xref:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Strict%2A> , and `null` convert to `true` and <xref:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional%2A> converts `false`. |
11 |
| -
|
12 |
| - ]]></format> |
| 8 | + Implicit conversions have been added to maintain backwards compatibility with boolean behavior for the <see cref="P:Microsoft.Data.SqlClient.SqlConnectionStringBuilder.Encrypt" /> property. When converting from a boolean, a value of <see langword="true" /> converts to <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory" /> and a value of <see langword="false" /> converts to <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional" />. When converting to a boolean, <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory" />, <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Strict" />, and <see langword="null" /> convert to <see langword="true" /> and <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional" /> converts <see langword="false" />. |
13 | 9 | </remarks>
|
14 | 10 | </SqlConnectionEncryptOption>
|
15 | 11 | <Parse>
|
16 | 12 | <summary>
|
17 |
| - Converts the specified string representation of a logical value to its <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption"/> equivalent. |
| 13 | + Converts the specified string representation of a logical value to its <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> equivalent. |
18 | 14 | </summary>
|
19 |
| - <param name="value">A string containing the value to convert.</param> |
| 15 | + <param name="value"> |
| 16 | + A string containing the value to convert. |
| 17 | + </param> |
20 | 18 | <returns>
|
21 |
| - An object that is equivalent to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption"/> contained in <paramref name="value"/>. |
| 19 | + An object that is equivalent to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> contained in <paramref name="value" />. |
22 | 20 | </returns>
|
23 | 21 | <exception cref="T:System.ArgumentException">
|
24 |
| - Throws exception if provided <paramref name="value"/> is not convertible to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption"/> type. |
| 22 | + Throws exception if provided <paramref name="value" /> is not convertible to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> type. |
25 | 23 | </exception>
|
26 | 24 | </Parse>
|
27 | 25 | <TryParse>
|
28 | 26 | <summary>
|
29 |
| - Converts the specified string representation of a logical value to its <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption"/> equivalent and returns a value that indicates whether the conversion succeeded. |
| 27 | + Converts the specified string representation of a logical value to its <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> equivalent and returns a value that indicates whether the conversion succeeded. |
30 | 28 | </summary>
|
31 |
| - <param name="value">A string containing the value to convert.</param> |
| 29 | + <param name="value"> |
| 30 | + A string containing the value to convert. |
| 31 | + </param> |
32 | 32 | <param name="result">
|
33 |
| - An object that is equivalent to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption"/> contained in <paramref name="value"/>. <see langword="null" /> if conversion fails. |
| 33 | + An object that is equivalent to <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> contained in <paramref name="value" />. <see langword="null" /> if conversion fails. |
34 | 34 | </param>
|
35 | 35 | <returns>
|
36 |
| - <see langword="true" /> if the <paramref name="value"/> parameter was converted successfully; otherwise, <see langword="false" />. |
| 36 | + <see langword="true" /> if the <paramref name="value" /> parameter was converted successfully; otherwise, <see langword="false" />. |
37 | 37 | </returns>
|
38 |
| - <remarks>This method does not throw an exception if conversion fails.</remarks> |
| 38 | + <remarks> |
| 39 | + This method does not throw an exception if conversion fails. |
| 40 | + </remarks> |
39 | 41 | </TryParse>
|
40 | 42 | <Optional>
|
41 |
| - <summary>Specifies that TLS encryption is optional when connecting to the server. If the server requires encryption, encryption will be negotiated.</summary> |
| 43 | + <summary> |
| 44 | + Specifies that TLS encryption is optional when connecting to the server. If the server requires encryption, encryption will be negotiated. |
| 45 | + </summary> |
42 | 46 | </Optional>
|
43 | 47 | <Mandatory>
|
44 |
| - <summary>Specifies that TLS encryption is required when connecting to the server. If the server doesn't support encryption, the connection will fail.</summary> |
| 48 | + <summary> |
| 49 | + Specifies that TLS encryption is required when connecting to the server. If the server doesn't support encryption, the connection will fail. |
| 50 | + </summary> |
45 | 51 | </Mandatory>
|
46 | 52 | <Strict>
|
47 |
| - <summary>Enables and requires TDS 8.0, TLS encryption to the server. If the server doesn't support TDS 8.0, TLS encryption, the connection will fail.</summary> |
| 53 | + <summary> |
| 54 | + Enables and requires TDS 8.0, TLS encryption to the server. If the server doesn't support TDS 8.0, TLS encryption, the connection will fail. |
| 55 | + </summary> |
48 | 56 | </Strict>
|
49 | 57 | <BoolToOption>
|
50 |
| - <param name="value">The boolean value to be used for implicit comparison.</param> |
| 58 | + <param name="value"> |
| 59 | + The boolean value to be used for implicit comparison. |
| 60 | + </param> |
51 | 61 | <summary>
|
52 | 62 | Enables implicit conversion of a boolean to a <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" />. A value of <see langword="true" /> converts to <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory" />. A value of <see langword="false" /> converts to <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional" />.
|
53 | 63 | </summary>
|
54 | 64 | </BoolToOption>
|
55 | 65 | <OptionToBool>
|
56 |
| - <param name="value">The <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> value to be used for implicit comparison.</param> |
| 66 | + <param name="value"> |
| 67 | + The <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> value to be used for implicit comparison. |
| 68 | + </param> |
57 | 69 | <summary>
|
58 | 70 | Enables implicit conversion of a <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" /> to a boolean. <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Mandatory" /> and <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Strict" /> convert to <see langword="true" />. <see cref="P:Microsoft.Data.SqlClient.SqlConnectionEncryptOption.Optional" /> converts to <see langword="false" />.
|
59 | 71 | </summary>
|
60 | 72 | </OptionToBool>
|
61 | 73 | <ToString>
|
62 |
| - <summary>Returns the string value of <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" />.</summary> |
| 74 | + <summary> |
| 75 | + Returns the string value of <see cref="T:Microsoft.Data.SqlClient.SqlConnectionEncryptOption" />. |
| 76 | + </summary> |
63 | 77 | </ToString>
|
64 | 78 | <Equals>
|
65 | 79 | <summary>
|
|
0 commit comments