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

Note: 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 integers that contain the data types to include. Null indicates that all types should be included.

Return Value

A SQLServerResultSet object.

Exceptions

SQLServerException

Remarks

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

See Also