--- title: "setApplicationIntent Method (SQLServerDataSource) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: e164c8ac-a0ae-4638-affb-ed454e7c0708 author: David-Engel ms.author: v-daenge --- # setApplicationIntent Method (SQLServerDataSource) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Sets the value of the **applicationIntent** connection property. ## Syntax ```vb public void setApplicationIntent(java.lang.String applicationIntent); ``` #### Parameters *applicationIntent* The new value of the **applicationIntent** connection property. ## Remarks For more information about the **applicationIntent** connection property, see [Setting the Connection Properties](../../../connect/jdbc/setting-the-connection-properties.md). ## See Also [SQLServerDataSource.getApplicationIntent](../../../connect/jdbc/reference/getapplicationintent-method-sqlserverdatasource.md) [SQLServerDataSource Members](../../../connect/jdbc/reference/sqlserverdatasource-members.md) [SQLServerDataSource Class](../../../connect/jdbc/reference/sqlserverdatasource-class.md)