Share via


SQLServerXADataSource Members

The following tables list the members that are exposed by the SQLServerXADataSource class.

Constructors

Name Description

SQLServerXADataSource ()

Initializes a new instance of the SQLServerXADataSource class.

Fields

None.

Inherited Fields

None.

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.

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 int 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

(Inherited from SQLServerConnectionPoolDataSource) 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 SQLServerXADataSource 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.

getXAConnection

Tries to establish a physical database connection that can be used in a distributed transaction.

getXopenStates

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

isWrapperFor

Indicates whether this object is a wrapper for the specified interface.

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 int 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.

unwrap

Returns an object that implements the specified interface to allow access to the Microsoft SQL Server JDBC Driver-specific methods.

Inherited Methods

Class inherited from: Methods

com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource

getPooledConnection

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

java.sql.Wrapper

isWrapperFor, unwrap

javax.sql.XADataSource

getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter

javax.sql.ConnectionPoolDataSource

getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter

See Also

Reference

SQLServerXADataSource Class