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