Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.12 KB

File metadata and controls

63 lines (44 loc) · 2.12 KB
title getAttributes Method (SQLServerDatabaseMetaData)
description getAttributes Method (SQLServerDatabaseMetaData)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDatabaseMetaData.getAttributes
apitype Assembly

getAttributes Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

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.

Note

This method is not currently supported by the [!INCLUDEjdbcNoVersion]. If called, it will always return an empty result set.

Syntax

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

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.

attributePattern

A String that contains the attribute name pattern.

Return Value

A SQLServerResultSet object.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class