ISQLServerDataSource 介面
建立此物件代表之資料來源連接的 Factory。 這個介面是在 SQL Server JDBC Driver 3.0 中新增。
套件:com.microsoft.sqlserver.jdbc
擴充:java.sql.CommonDataSource
語法
public interface ISQLServerDataSource
備註
此介面是由 SQLServerDataSource 類別所實作。
此介面會公開下列 Microsoft JDBC Driver for SQL Server 特定方法:
方法 | 如需相關資訊,請參閱 |
---|---|
public String getApplicationName() | getApplicationName |
public String getDatabaseName() | getDatabaseName |
public String getDescription() | getDescription |
public boolean getEncrypt() | getEncrypt |
public String getFailoverPartner() | getFailoverPartner |
public String getHostNameInCertificate() | getHostNameInCertificate |
public String getInstanceName() | getInstanceName |
public boolean getLastUpdateCount() | getLastUpdateCount |
public int getLockTimeout() | getLockTimeout |
public boolean getMultiSubnetFailover() | getMultiSubnetFailover |
public int getPacketSize() | getPacketSize |
public int getPortNumber() | getPortNumber |
public String getResponseBuffering() | getResponseBuffering |
public String getSelectMethod() | getSelectMethod |
public boolean getSendStringParametersAsUnicode() | getSendStringParametersAsUnicode |
public boolean getSendTimeAsDatetime() | getSendTimeAsDatetime |
public String getServerName() | getServerName |
public boolean getTrustServerCertificate() | getTrustServerCertificate |
public String getTrustStore() | getTrustStore |
public String getURL() | getURL |
public String getUser() | getUser |
public String getWorkstationID() | getWorkstationID |
public boolean getXopenStates() | getXopenStates |
public void setApplicationName(String) | setApplicationName |
public void setAuthenticationSceme(String) | setAuthenticationSceme |
public void setDatabaseName(String) | setDatabaseName |
public void setDescription(String) | setDescription |
public void setEncrypt(boolean) | setEncrypt |
public void setFailoverPartner(String) | setFailoverPartner |
public void setHostNameInCertificate(String) | setHostNameInCertificate |
public void setInstanceName(String) | setInstanceName |
public void setIntegratedSecurity(boolean) | setIntegratedSecurity |
public void setLastUpdateCount(boolean) | setLastUpdateCount |
public void setLockTimeout(int) | setLockTimeout |
public void setMultiSubnetFailover(boolean multiSubnetFailover) | setMultiSubnetFailover |
public void setPacketSize(int) | setPacketSize |
public void setPassword(String) | setPassword |
public void setPortNumber(int) | setPortNumber |
public void setResponseBuffering(String) | setResponseBuffering |
public void setSelectMethod(String) | setSelectMethod |
public void setSendStringParametersAsUnicode(boolean) | setSendStringParametersAsUnicode |
public void setSendTimeAsDatetime(boolean) | setSendTimeAsDatetime |
public void setServerName(String) | setServerName |
public void setTrustServerCertificate(boolean) | setTrustServerCertificate |
public void setTrustStore(String) | setTrustStore |
public void setTrustStorePassword(String) | setTrustStorePassword |
public void setURL(String url) | setURL |
public void setUser(String) | setUser |
public void setWorkstationID(String) | setWorkstationID |
public void setXopenStates(boolean) | setXopenStates |