This documentation is archived and is not being maintained.
SqlMetaData Constructor
Visual Studio 2010
Initializes a new instance of the SqlMetaData class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
SqlMetaData(String, SqlDbType) | Initializes a new instance of the SqlMetaData class with the specified column name and type. |
|
SqlMetaData(String, SqlDbType, Int64) | Initializes a new instance of the SqlMetaData class with the specified column name, type, and maximum length. |
|
SqlMetaData(String, SqlDbType, Type) | Initializes a new instance of the SqlMetaData class with the specified column name, type, and user-defined type (UDT). |
|
SqlMetaData(String, SqlDbType, Byte, Byte) | Initializes a new instance of the SqlMetaData class with the specified column name, type, precision, and scale. |
|
SqlMetaData(String, SqlDbType, Type, String) | Initializes a new instance of the SqlMetaData class with the specified column name, user-defined type (UDT), and SQLServer type. |
|
SqlMetaData(String, SqlDbType, Int64, Int64, SqlCompareOptions) | Initializes a new instance of the SqlMetaData class with the specified column name, type, maximum length, locale, and compare options. |
|
SqlMetaData(String, SqlDbType, String, String, String) | Initializes a new instance of the SqlMetaData class with the specified column name, type, database name, owning schema, and object name. |
|
SqlMetaData(String, SqlDbType, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, Int64, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, type, maximum length, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, Byte, Byte, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, type, precision, scale, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, Int64, Byte, Byte, Int64, SqlCompareOptions, Type) | Initializes a new instance of the SqlMetaData class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT). |
|
SqlMetaData(String, SqlDbType, Type, String, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, type, user-defined type, SQL Server type, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, Int64, Int64, SqlCompareOptions, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, type, maximum length, locale, compare options, and server default. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, String, String, String, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, database name, owning schema, object name, and default server. This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
|
SqlMetaData(String, SqlDbType, Int64, Byte, Byte, Int64, SqlCompareOptions, Type, Boolean, Boolean, SortOrder, Int32) | Initializes a new instance of the SqlMetaData class with the specified column name, type, maximum length, precision, scale, locale ID, compare options, and user-defined type (UDT). This form of the constructor supports table-valued parameters by allowing you to specify if the column is unique in the table-valued parameter, the sort order for the column, and the ordinal of the sort column. |
Show: