This documentation is archived and is not being maintained.
SqlMetaData Properties
Visual Studio 2010
The SqlMetaData type exposes the following members.
| Name | Description | |
|---|---|---|
|
CompareOptions | Gets the comparison rules used for the column or parameter. |
|
DbType | Gets the data type of the column or parameter. |
|
IsUniqueKey | Indicates if the column in the table-valued parameter is unique. |
|
LocaleId | Gets the locale ID of the column or parameter. |
|
Max | Gets the length of text, ntext, and image data types. |
|
MaxLength | Gets the maximum length of the column or parameter. |
|
Name | Gets the name of the column or parameter. |
|
Precision | Gets the precision of the column or parameter. |
|
Scale | Gets the scale of the column or parameter. |
|
SortOrder | Returns the sort order for a column. |
|
SortOrdinal | Returns the ordinal of the sort column. |
|
SqlDbType | Gets the data type of the column or parameter. |
|
Type | Gets the common language runtime (CLR) type of a user-defined type (UDT). |
|
TypeName | Gets the three-part name of the user-defined type (UDT) or the SQL Server type represented by the instance. |
|
UseServerDefault | Reports whether this column should use the default server value. |
|
XmlSchemaCollectionDatabase | Gets the name of the database where the schema collection for this XML instance is located. |
|
XmlSchemaCollectionName | Gets the name of the schema collection for this XML instance. |
|
XmlSchemaCollectionOwningSchema | Gets the owning relational schema where the schema collection for this XML instance is located. |
Show: