Freigeben über


DataType-Konstruktor (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

'Declaration
Public Sub New ( _
    sqlDataType As SqlDataType, _
    type As String, _
    schema As String _
)
'Usage
Dim sqlDataType As SqlDataType
Dim type As String
Dim schema As String

Dim instance As New DataType(sqlDataType, _
    type, schema)
public DataType(
    SqlDataType sqlDataType,
    string type,
    string schema
)
public:
DataType(
    SqlDataType sqlDataType, 
    String^ type, 
    String^ schema
)
new : 
        sqlDataType:SqlDataType * 
        type:string * 
        schema:string -> DataType
public function DataType(
    sqlDataType : SqlDataType, 
    type : String, 
    schema : String
)

Parameter