The following tables list the methods that are exposed by the SQLServerConnectionPoolDataSource class.

Methods

Name Description

getApplicationName

(Inherited from SQLServerDataSource) Returns the application name.

getConnection

(Inherited from SQLServerDataSource) Tries to establish a connection with the data source that this DataSource object represents.

getDatabaseName

(Inherited from SQLServerDataSource) Returns the database name.

getDescription

(Inherited from SQLServerDataSource) Returns a description of the data source.

getFailoverPartner

(Inherited from SQLServerDataSource) Returns the name of the failover server that is used in a database mirroring configuration.

getInstanceName

(Inherited from SQLServerDataSource) Returns the SQL Server instance name.

getLastUpdateCount

(Inherited from SQLServerDataSource) Returns a Boolean value that indicates if the lastUpdateCount property is enabled.

getLockTimeout

(Inherited from SQLServerDataSource) Returns an integer value that indicates the number of milliseconds that the database will wait before reporting a lock time out.

getLoginTimeout

(Inherited from SQLServerDataSource) Returns the number of seconds that this DataSource object will wait while trying to make a connection.

getLogWriter

(Inherited from SQLServerDataSource) Returns a character output stream to be used for all logging and tracing messages.

getPooledConnection

Tries to establish a physical database connection that can be used as a pooled connection.

getPortNumber

(Inherited from SQLServerDataSource) Returns the current port number that is used to communicate with SQL Server.

getReference

Returns a reference to this DataSource object.

getSelectMethod

(Inherited from SQLServerDataSource) Returns the default cursor type that is used for all result sets that are created by using this DataSource object.

getSendStringParametersAsUnicode

(Inherited from SQLServerDataSource) Returns a Boolean value that indicates if sending string parameters to the server in UNICODE format is enabled.

getServerName

(Inherited from SQLServerDataSource) Returns the name of the computer that is running SQL Server.

getURL

(Inherited from SQLServerDataSource) Returns the URL that is used to connect to the data source.

getUser

(Inherited from SQLServerDataSource) Returns the user name that is used to connect the data source.

getWorkstationID

(Inherited from SQLServerDataSource) Returns the name of the client computer name that is used to connect to the data source.

getXopenStates

(Inherited from SQLServerDataSource) Returns a Boolean value that indicates if converting SQL states to XOPEN compliant states is enabled.

setApplicationName

(Inherited from SQLServerDataSource) Sets the application name.

setDatabaseName

(Inherited from SQLServerDataSource) Sets the database name to connect to.

setDescription

(Inherited from SQLServerDataSource) Sets the description of the data source.

setFailoverPartner

(Inherited from SQLServerDataSource) Sets the name of the failover server that is used in a database mirroring configuration.

setInstanceName

(Inherited from SQLServerDataSource) Sets the SQL Server instance name.

setIntegratedSecurity

(Inherited from SQLServerDataSource) Sets a Boolean value that indicates if the integratedSecurity property is enabled.

setLastUpdateCount

(Inherited from SQLServerDataSource) Sets a Boolean value that indicates if the lastUpdateCount property is enabled.

setLockTimeout

(Inherited from SQLServerDataSource) Sets an integer value that indicates the number of milliseconds to wait before the database reports a lock time out.

setLoginTimeout

(Inherited from SQLServerDataSource) Sets the number of seconds that this DataSource object will wait while trying to make a connection.

setLogWriter

(Inherited from SQLServerDataSource) Sets a character output stream to be used for all logging and tracing messages.

setPassword

(Inherited from SQLServerDataSource) Sets the password that will be used to connect to SQL Server.

setPortNumber

(Inherited from SQLServerDataSource) Sets the port number to be used to communicate with SQL Server.

setSelectMethod

(Inherited from SQLServerDataSource) Sets the default cursor type that is used for all result sets that are created by using this DataSource object.

setSendStringParametersAsUnicode

(Inherited from SQLServerDataSource) Sets a Boolean value that indicates if sending string parameters to the server in UNICODE format is enabled.

setServerName

(Inherited from SQLServerDataSource) Sets the name of the computer that is running SQL Server.

setURL

(Inherited from SQLServerDataSource) Sets the URL that is used to connect to the data source.

setUser

(Inherited from SQLServerDataSource) Sets the user name that is used to connect the data source.

setWorkstationID

(Inherited from SQLServerDataSource) Sets the client computer name that is used to connect to the data source.

setXopenStates

(Inherited from SQLServerDataSource) Sets a Boolean value that indicates if converting SQL states to XOPEN compliant states is enabled.

Inherited Methods

Class inherited from: Methods

com.microsoft.sqlserver.jdbc.SQLServerDataSource

getApplicationName, getConnection, getDatabaseName, getDescription, getFailoverPartner, getInstanceName, getLastUpdateCount, getLockTimeout, getLoginTimeout, getLogWriter, getPortNumber, getSelectMethod, getSendStringParametersAsUnicode, getServerName, getURL, getUser, getWorkstationID, getXopenStates, setApplicationName, setDatabaseName, setDescription, setFailoverPartner, setInstanceName, setIntegratedSecurity, setLastUpdateCount, setLockTimeout, setLoginTimeout, setLogWriter, setPassword, setPortNumber, setSelectMethod, setSendStringParametersAsUnicode, setServerName, setURL, setUser, setWorkstationID, setXopenStates

java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

javax.sql.ConnectionPoolDataSource

getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter

See Also