--- title: "SQLConnect | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: native-client ms.topic: "reference" helpviewer_keywords: - "SQLConnect function" ms.assetid: 6da74e3a-4388-4907-81cb-987389bae467 author: MightyPen ms.author: genemi manager: craigg --- # SQLConnect 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)](../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](../native-client/features/sql-server-native-client-support-for-high-availability-disaster-recovery.md). ## See Also [SQLConnect Function](https://go.microsoft.com/fwlink/?LinkId=101541) [ODBC API Implementation Details](odbc-api-implementation-details.md)