Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.5 KB

File metadata and controls

51 lines (41 loc) · 1.5 KB
title setApplicationName Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerDataSource.setApplicationName
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 24d6e48d-53c4-4da2-a6de-1cdff463c9cd
caps.latest.revision 12
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

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