--- title: "setTrustManagerClass Method (SQLServerDataSource) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2018" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual apiname: - "SQLServerDataSource.setTrustManagerClass" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: author: David-Engel ms.author: v-daenge --- # setTrustManagerClass Method (SQLServerDataSource) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Sets the String value of the TrustManagerClass connection property. ## Syntax ``` public void setTrustManagerClass(java.lang.String trustManagerClass) ``` #### Parameters *trustManagerClass* A **String** that contains the fully qualified class name of a custom javax.net.ssl.TrustManager. ## See Also [SQLServerDataSource Members](../../../connect/jdbc/reference/sqlserverdatasource-members.md) [SQLServerDataSource Class](../../../connect/jdbc/reference/sqlserverdatasource-class.md)