getApplicationName Method (SQLServerDataSource)

Download JDBC driver

Returns the application name.

Syntax

  
public java.lang.String getApplicationName()  

Return Value

A String that contains the application name, or " Microsoft JDBC Driver for SQL Server" if no value is set.

Remarks

The application name is used to identify the specific application in various SQL Server profiling and logging tools. If the application name is not set, the getApplicationName method returns the non-localized string " Microsoft JDBC Driver for SQL Server".

See Also

SQLServerDataSource Members
SQLServerDataSource Class