java.sql.Driver
public final class SQLServerDriver
extends java.lang.Object
implements java.sql.Driver
Constructor | Description |
---|---|
SQLServerDriver() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
acceptsURL(java.lang.String url) |
|
java.sql.Connection |
connect(java.lang.String Url,
java.util.Properties suppliedProperties) |
|
int |
getMajorVersion() |
|
int |
getMinorVersion() |
|
java.util.logging.Logger |
getParentLogger() |
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String Url,
java.util.Properties Info) |
|
boolean |
jdbcCompliant() |
|
java.lang.String |
toString() |
public final java.lang.String toString()
toString
in class java.lang.Object
public java.sql.Connection connect(java.lang.String Url, java.util.Properties suppliedProperties) throws SQLServerException
connect
in interface java.sql.Driver
SQLServerException
public boolean acceptsURL(java.lang.String url) throws SQLServerException
acceptsURL
in interface java.sql.Driver
SQLServerException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String Url, java.util.Properties Info) throws SQLServerException
getPropertyInfo
in interface java.sql.Driver
SQLServerException
public int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger
in interface java.sql.Driver
java.sql.SQLFeatureNotSupportedException
public boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
Copyright © 2018 Microsoft Corporation. All rights reserved.