Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.82 KB

File metadata and controls

42 lines (30 loc) · 1.82 KB
title getSendTimeAsDatetime 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
ms.assetid 02287122-5dc1-455d-987f-95fd9a69d503
author David-Engel
ms.author v-daenge

getSendTimeAsDatetime Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

This method was added in [!INCLUDEssNoVersion] JDBC Driver 3.0.

Returns the setting of the sendTimeAsDatetime connection property.

Syntax

  
public boolean getSendTimeAsDatetime();  

Return Value

true if java.sql.Time values will be sent to the server as a [!INCLUDEssNoVersion] datetime type. false if java.sql.Time values will be sent to the server as a [!INCLUDEssNoVersion] time type.

Remarks

See Setting the Connection Properties for more information about the sendTimeAsDatetime connection property.

SQLServerDataSource.setSendTimeAsDatetime lets you programmatically set the sendTimeAsDatetime connection property.

For more information, see Configuring How java.sql.Time Values are Sent to the Server.

See Also

SQLServerDataSource Members
SQLServerDataSource Class