Udostępnij przez


DataType Constructor (SqlDataType, String, String)

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

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

Syntax

'Deklaracja
Public Sub New ( _
    sqlDataType As SqlDataType, _
    type As String, _
    schema As String _
)
public DataType (
    SqlDataType sqlDataType,
    string type,
    string schema
)
public:
DataType (
    SqlDataType sqlDataType, 
    String^ type, 
    String^ schema
)
public DataType (
    SqlDataType sqlDataType, 
    String type, 
    String schema
)
public function DataType (
    sqlDataType : SqlDataType, 
    type : String, 
    schema : String
)

Parameters

  • sqlDataType
    A SqlDataType object value that specifies the SQL Server data type.
  • type
    A String value that specifies the type of data type.
  • schema
    A String value that specifies the schema of the 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.