Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.4 KB

File metadata and controls

41 lines (32 loc) · 1.4 KB
title getApplicationName Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDataSource.getApplicationName
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid f71e501c-ccd7-4a1e-b6ea-4d47a81c18c6
author David-Engel
ms.author v-daenge

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