setIntegratedSecurity Method (SQLServerDataSource)
Sets a Boolean value that indicates if the integratedSecurity property is enabled.
Syntax
public void setIntegratedSecurity(boolean enable)
Parameters
enable
true if integratedSecurity is enabled. Otherwise, false.
Remarks
Set to "true" to indicate that Windows credentials will be used by SQL Server to authenticate the user of the application. If "true", the Microsoft JDBC Driver for SQL Server will search the local computer credential cache for credentials that have already been provided at the computer or network logon. If "false", the username and password must be supplied.
Note
This property is only supported on Microsoft Windows operating systems.
For more information about using integrated authentication, see Building the Connection URL.
See Also
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