Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
This method was added in SQL Server 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 SQL Server datetime type. false if java.sql.Time values will be sent to the server as a SQL Server 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.