The following lines should be deleted. The ServerCertificate property is applicable to encryption regardless of Integrated Security/ServerSPN etc
<format type="text/markdown">
<![CDATA[
This property corresponds to the "ServerSPN" and "Server SPN" keys within the connection string.
> [!NOTE]
> This property only applies when using Integrated Security mode, otherwise it is ignored.
]]>
Describe the bug
The documentation at https://learn.microsoft.com/en-us/dotnet/api/microsoft.data.sqlclient.sqlconnectionstringbuilder.servercertificate?view=sqlclient-dotnet-core-6.1 about ServerCertificate property of SqlConnectionStringBuilder is incorrect.
The fix needs to be made in https://github.com/dotnet/SqlClient/blame/f50d21ce320194ff94c7e396f479482fca65a4cc/doc/snippets/Microsoft.Data.SqlClient/SqlConnectionStringBuilder.xml#L108
The following lines should be deleted. The ServerCertificate property is applicable to encryption regardless of Integrated Security/ServerSPN etc