Udostępnij przez


DataType Constructor (SqlDataType)

Initializes a new instance of the DataType class based on a specified SQL Server data type.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    sqlDataType As SqlDataType _
)
public DataType (
    SqlDataType sqlDataType
)
public:
DataType (
    SqlDataType sqlDataType
)
public DataType (
    SqlDataType sqlDataType
)
public function DataType (
    sqlDataType : SqlDataType
)

Parameters

  • sqlDataType
    A SqlDataType object variable that specifies the SQL Server system data type.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.