--- title: "SQLConnect | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "reference" helpviewer_keywords: - "SQLConnect function" ms.assetid: 6da74e3a-4388-4907-81cb-987389bae467 caps.latest.revision: 11 author: "JennieHubbard" ms.author: "jhubbard" manager: "jhubbard" --- # SQLConnect [!INCLUDE[SNAC_Deprecated](../../includes/snac-deprecated.md)] When a connection is opened, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Native Client sets SQL_COPT_SS_MUTUALLY_AUTHENTICATED and SQL_COPT_SS_INTEGRATED_AUTHENTICATION_METHOD to the authentication method used to open the connection. For more information about SPNs, see [Service Principal Names (SPNs) in Client Connections (ODBC)](../../relational-databases/native-client/odbc/service-principal-names-spns-in-client-connections-odbc.md). ## SQLConnect Support for High Availability, Disaster Recovery For more information on using **SQLConnect** to connect to a [!INCLUDE[ssHADR](../../includes/sshadr-md.md)] cluster, see [SQL Server Native Client Support for High Availability, Disaster Recovery](../../relational-databases/native-client/features/sql-server-native-client-support-for-high-availability-disaster-recovery.md). ## See Also [SQLConnect Function](http://go.microsoft.com/fwlink/?LinkId=101541) [ODBC API Implementation Details](../../relational-databases/native-client-odbc-api/odbc-api-implementation-details.md)