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.
Retrieves the URL for this database.
Syntax
public java.lang.String getURL()
Return Value
A String that contains the URL.
Exceptions
Remarks
This getURL method is specified by the getURL method in the java.sql.DatabaseMetaData interface.
When using the Microsoft JDBC Driver for SQL Server with a SQL Server database, this method returns a String value that contains the following information:
A URL value of "jdbc:sqlserver://"
Optional connection properties, such as serverName, instanceName, and portNumber
Other connection properties set by the user and all connection properties with non-empty or non-null driver default values except userName, password, and integratedSecurity.
See Also
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class