Driver=SQL Server Native Client 11.0;Server=myServer\instance;Database=myDB;Trusted_Connection=yes; Using :
Provider=SQLNCLI11;Server=myServer;Database=myDB;MARS Connection=True; Microsoft has clearly stated that SQL Server Native Client (any version, including 2012) will not receive new features, security fixes, or support for newer SQL Server versions (2014, 2016, 2017, 2019, 2022). microsoft sql server native client 2012
Modern alternatives:
Provider=SQLNCLI11;Server=myServer\instance;Database=myDB;Trusted_Connection=yes; Enabling (Multiple Active Result Sets): Driver=SQL Server Native Client 11
Introduction Microsoft SQL Server Native Client 2012 (often abbreviated as SQL Server Native Client 11.0, or SQLNCLI11) is a data access technology that combines the OLE DB and ODBC libraries into a single dynamic-link library (DLL). It was introduced alongside SQL Server 2012 to provide a high-performance way for applications to connect to and interact with SQL Server databases. Driver=SQL Server Native Client 11.0