Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.36 KB

File metadata and controls

43 lines (33 loc) · 1.36 KB
title setApplicationName 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.setApplicationName
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 24d6e48d-53c4-4da2-a6de-1cdff463c9cd
author David-Engel
ms.author v-daenge

setApplicationName Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Sets the application name.

Syntax

  
public void setApplicationName(java.lang.String applicationName)  

Parameters

applicationName

A String that contains the name of the application.

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