setClientInfo Method (java.lang.String, java.lang.String)
Sets the value of the specified client information property.
Syntax
public void setClientInfo (java.lang.String name,
java.lang.String value)
Parameters
name
A String that contains the name of the client information property to set.
value
A String that contains the value to set the client information property to.
Exceptions
Remarks
This setClientInfo method is specified by the setClientInfo method in the java.sql.Connection interface.
The Microsoft JDBC Driver for SQL Server does not support any client information properties. In the 2.0 JDBC Driver, this method generates a warning for a property. Applications should use getWarnings method of the SQLServerConnection class to retrieve a warning.
See Also
setClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho