Export (0) Print
Expand All

SqlMetaData Properties

The SqlMetaData type exposes the following members.

  NameDescription
Public property CompareOptions Gets the comparison rules used for the column or parameter.
Public property DbType Gets the data type of the column or parameter.
Public property IsUniqueKey Indicates if the column in the table-valued parameter is unique.
Public property LocaleId Gets the locale ID of the column or parameter.
Public property Static member Max Gets the length of text, ntext, and image data types.
Public property MaxLength Gets the maximum length of the column or parameter.
Public property Name Gets the name of the column or parameter.
Public property Precision Gets the precision of the column or parameter.
Public property Scale Gets the scale of the column or parameter.
Public property SortOrder Returns the sort order for a column.
Public property SortOrdinal Returns the ordinal of the sort column.
Public property SqlDbType Gets the data type of the column or parameter.
Public property Type Gets the common language runtime (CLR) type of a user-defined type (UDT).
Public property TypeName Gets the three-part name of the user-defined type (UDT) or the SQL Server type represented by the instance.
Public property UseServerDefault Reports whether this column should use the default server value.
Public property XmlSchemaCollectionDatabase Gets the name of the database where the schema collection for this XML instance is located.
Public property XmlSchemaCollectionName Gets the name of the schema collection for this XML instance.
Public property XmlSchemaCollectionOwningSchema Gets the owning relational schema where the schema collection for this XML instance is located.
Top

Community Additions

ADD
Show:
© 2014 Microsoft