Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.33 KB

File metadata and controls

37 lines (28 loc) · 1.33 KB
title getApplicationName Method (SQLServerDataSource)
description getApplicationName Method (SQLServerDataSource)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.getApplicationName
apitype Assembly

getApplicationName Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Returns the application name.

Syntax

  
public java.lang.String getApplicationName()  

Return Value

A String that contains the application name, or " [!INCLUDEjdbcNoVersion]" if no value is set.

Remarks

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

See Also

SQLServerDataSource Members
SQLServerDataSource Class