setApplicationName Method (SQLServerDataSource)

 

DownloadDownload JDBC Driver

Sets the application name.

  
public void setApplicationName(java.lang.String applicationName)  

Parameters

applicationName

A String that contains the name of the application.

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".

SQLServerDataSource Members
SQLServerDataSource Class

Community Additions

ADD
Show: