다음을 통해 공유


setCatalog Method (SQLServerConnection)

Sets the given catalog name to select a subspace of this SQLServerConnection object's database in which to work.

public void setCatalog(java.lang.String catalog)

매개 변수

catalog

A String that contains the catalog name.

예외

SQLServerException

주의

This setCatalog method is specified by the setCatalog method in the java.sql.Connection interface.

The catalog argument is escaped by Microsoft SQL Server 2005 JDBC Driver automatically. Using this method sets the catalog property for the Connection object. It is not set implicitly in any other way.

참고 항목

참조

SQLServerConnection Class

개념

SQLServerConnection Methods
SQLServerConnection Members