Microsoft SDK for Java

getDefaultDatabase

This method of the Connection class retrieves the name of the default database for a Connection object.

Syntax

public String getDefaultDatabase();

Return Value

Returns a string that is the name of the default database.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.