| title | getApplicationName 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 |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | f71e501c-ccd7-4a1e-b6ea-4d47a81c18c6 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Returns the application name.
public java.lang.String getApplicationName()
A String that contains the application name, or " [!INCLUDEjdbcNoVersion]" if no value is set.
The application name is used to identify the specific application in various [!INCLUDEssNoVersion] profiling and logging tools. If the application name is not set, the getApplicationName method returns the non-localized string " [!INCLUDEjdbcNoVersion]".