Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following tables list the methods exposed by the SQLServerDataSource class.
Methods
| Name | Description |
|---|---|
Returns the application name. |
|
Tries to establish a connection with the data source that this SQLServerDataSource object represents. |
|
Returns the database name. |
|
Returns a boolean value indicating whether the encrypt property is enabled. |
|
Returns a description of the data source. |
|
Returns the name of the failover server used in a database mirroring configuration. |
|
Returns the host name used in validating the SQL Server Secure Sockets Layer (SSL) certificate. |
|
Returns the SQL Server instance name. |
|
Returns a boolean value indicating whether the lastUpdateCount property is enabled. |
|
Returns an int value that indicates the number of milliseconds the database waits before reporting a lock time out. |
|
Returns the number of seconds this SQLServerDataSource object waits while trying to make a connection. |
|
Returns a character output stream to be used for all logging and tracing messages. |
|
Returns the current network packet size used to communicate with SQL Server, specified in bytes. |
|
Returns the current port number used to communicate with SQL Server. |
|
Returns a reference to this SQLServerDataSource object. |
|
Returns the response buffering mode for this SQLServerDataSource object. |
|
Returns the default cursor type used for all result sets created by using this SQLServerDataSource object. |
|
Returns a boolean value indicating whether sending string parameters to the server in UNICODE format is enabled. |
|
Returns the name of the computer running SQL Server. |
|
Returns a boolean value indicating whether the trustServerCertificate property is enabled. |
|
Returns the path (including file name) to the certificate trustStore file. |
|
Returns the URL used to connect to the data source. |
|
Returns the user name used to connect the data source. |
|
Returns the name of the client computer name used to connect to the data source. |
|
Returns a boolean value indicating whether converting SQL states to XOPEN compliant states is enabled. |
|
Indicates whether this data source object is a wrapper for the specified interface. |
|
Sets the application name. |
|
Sets the database name to connect to. |
|
Sets the description of the data source. |
|
Sets a boolean value indicating whether the encrypt property is enabled. |
|
Sets the name of the failover server used in a database mirroring configuration. |
|
Sets the host name to be used in validating the SQL Server Secure Sockets Layer (SSL) certificate. |
|
Sets the SQL Server instance name. |
|
Sets a boolean value indicating whether the integratedSecurity property is enabled. |
|
Sets a boolean value indicating whether the lastUpdateCount property is enabled. |
|
Sets an int value indicating the number of milliseconds to wait before the database reports a lock time out. |
|
Sets the number of seconds this SQLServerDataSource object waits while trying to make a connection. |
|
Sets a character output stream to be used for all logging and tracing messages. |
|
Sets the current network packet size used to communicate with SQL Server, specified in bytes. |
|
Sets the password used to connect to SQL Server. |
|
Sets the port number used to communicate with SQL Server. |
|
Sets the response buffering mode for connections created by using this SQLServerDataSource object. |
|
Sets the default cursor type used for all result sets that are created by using this SQLServerDataSource object. |
|
Sets a boolean value indicating whether sending string parameters to the server in UNICODE format is enabled. |
|
Sets the name of the computer running SQL Server. |
|
Sets a boolean value indicating whether the trustServerCertificate property is enabled. |
|
Sets the path (including file name) to the certificate trustStore file. |
|
Sets the password that is used to check the integrity of the trustStore data. |
|
Sets the URL used to connect to the data source. |
|
Sets the user name used to connect the data source. |
|
Sets the client computer name used to connect to the data source. |
|
Sets a boolean value indicating whether converting SQL states to XOPEN compliant states is enabled. |
|
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 |
|---|---|
java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait |
java.sql.Wrapper |
isWrapperFor, unwrap |