getApplicationName Method (SQLServerDataSource)

Returns the application name.

public java.lang.String getApplicationName()

返回值

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

备注

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

另请参见

参考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members