getUDTs Method (SQLServerDatabaseMetaData)

Retrieves a description of the user-defined types that are defined in a particular schema.

NoteNote:

This method is not currently supported with Microsoft SQL Server 2005 JDBC Driver. When used, this method will always return an empty result set.


public java.sql.ResultSet getUDTs(java.lang.String catalog,
                                  java.lang.String schemaPattern,
                                  java.lang.String typeNamePattern,
                                  int[] types)

Parameters

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.

types

An array of ints that contain the data types to include. Null indicates that all types should be included.

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

Show: