ISQLServerDataSource 接口

一个工厂，用于创建与此对象表示的数据源的连接。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

# 请参阅

JDBC 驱动程序 API 参考
发送有关本主题的反馈至 Microsoft。

© 2012 Microsoft。保留所有权利。