setAuthenticationScheme (SQLServerDataSource)

下載 JDBC 驅動程式

表示您希望應用程式使用的整合式安全性種類。

語法

public void setAuthenticationScheme(String authenticationScheme);  

參數

authenticationScheme

值為 "JavaKerberos" 和預設 "NativeAuthentication"。 如需詳細資訊,請參閱使用 Kerberos 整合式驗證連接到 SQL Server

另請參閱

SQLServerDataSource 成員
SQLServerDataSource 類別