共用方式為


getAttributes Method (SQLServerDatabaseMetaData)

Retrieves a description of the given attribute of the given type for a user-defined type that is available in the given schema and catalog.

注意

This method is not currently supported by the Microsoft SQL Server 2005 JDBC Driver. If called, it will always return an empty result set.

public java.sql.ResultSet getAttributes(java.lang.String catalog,
                                        java.lang.String schemaPattern,
                                        java.lang.String typeNamePattern,
                                        java.lang.String attributeNamePattern)

參數

catalog

A String that contains the catalog name.

schemaPattern

A String that contains the schema name pattern.

typeNamePattern

A String that contains the type name pattern.

attributePattern

A String that contains the attribute name pattern.

傳回值

A SQLServerResultSet object.

例外狀況

SQLServerException

備註

This getAttributes method is specified by the getAttributes method in the java.sql.DatabaseMetaData interface.

另請參閱

參考

SQLServerDatabaseMetaData Class

概念

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members