Tries to establish a physical database connection using the given user name and password.
public javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
參數
user
A String that contains the user name.
password
A String that contains the password.
傳回值
An XAConnection object.
例外狀況
java.sql.SQLException
備註
This getXAConnection method is specified by the getXAConnection method in the javax.sql.XADataSource interface.
注意
This method is typically called by XA connection pool implementations and not by regular JDBC application code.
另請參閱
參考
概念
getXAConnection Method (SQLServerXADataSource)
SQLServerXADataSource Methods
SQLServerXADataSource Members