--- title: "getDescription 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 apiname: - "SQLServerDataSource.getDescription" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: dce7aa3a-9a2f-4a45-8191-e37949e2202f author: David-Engel ms.author: v-daenge --- # getDescription Method (SQLServerDataSource) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Returns a description of the data source. ## Syntax ``` public java.lang.String getDescription() ``` ## Return Value A **String** that contains the data source description or null if no value is set. ## See Also [SQLServerDataSource Members](../../../connect/jdbc/reference/sqlserverdatasource-members.md) [SQLServerDataSource Class](../../../connect/jdbc/reference/sqlserverdatasource-class.md)