Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.25 KB

File metadata and controls

38 lines (28 loc) · 1.25 KB
title setApplicationName Method (SQLServerDataSource)
description setApplicationName Method (SQLServerDataSource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.setApplicationName
apitype Assembly

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