Export (0) Print
Expand All

SqlMetaData Constructor

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
Public method SqlMetaData(String, SqlDbType) Initializes a new instance of the SqlMetaData class with the specified column name and type.
Public method SqlMetaData(String, SqlDbType, Int64) Initializes a new instance of the SqlMetaData class with the specified column name, type, and maximum length.
Public method SqlMetaData(String, SqlDbType, Type) Initializes a new instance of the SqlMetaData class with the specified column name, type, and user-defined type (UDT).
Public method SqlMetaData(String, SqlDbType, Byte, Byte) Initializes a new instance of the SqlMetaData class with the specified column name, type, precision, and scale.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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).
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Top
Show:
© 2015 Microsoft