title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getApplicationName Method (SQLServerDataSource) |
getApplicationName Method (SQLServerDataSource) |
David-Engel |
v-davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerDataSource.getApplicationName |
Assembly |
[!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]".