DataType Constructor

Initializes a new instance of the DataType class.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
DataType ()
Initializes a new instance of the DataType class.
DataType (SqlDataType)
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type.
DataType (UserDefinedDataType)
Initializes a new instance of the DataType class based on a specified user-defined data type.
DataType (UserDefinedType)
Initializes a new instance of the DataType class based on a specified user-defined type.
DataType (XmlSchemaCollection)
Initializes a new instance of the DataType class based on a specified XML schema collection.
DataType (SqlDataType, Int32)
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type with specified precision or maximum length.
DataType (SqlDataType, String)
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type with the specified type.
DataType (SqlDataType, Int32, Int32)
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type with the specified precision and scale.
DataType (SqlDataType, String, String)
Initializes a new instance of the DataType class based on a specified Microsoft SQL Server data type with the specified type and schema.

請參閱

參考

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Working with Data Types