Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 950 Bytes

File metadata and controls

36 lines (27 loc) · 950 Bytes
title setDatabaseName Method (SQLServerDataSource)
description setDatabaseName 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.setDatabaseName
apitype Assembly

setDatabaseName Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Sets the database name to connect to.

Syntax

  
public void setDatabaseName(java.lang.String databaseName)  

Parameters

databaseName

A String that contains the database name.

See Also

SQLServerDataSource Members
SQLServerDataSource Class