Share via


getApplicationName Method (SQLServerDataSource)

Returns the application name.

public java.lang.String getApplicationName()

Rückgabewert

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

Hinweise

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 SQL Server JDBC Driver".

Siehe auch

Referenz

SQLServerDataSource Class

Konzepte

SQLServerDataSource Methods
SQLServerDataSource Members