共用方式為


SqlMetaData 建構函式 (String, SqlDbType, Byte, Byte)

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  System.Data.SqlServerCe
組件:  System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    dbType As SqlDbType, _
    precision As Byte, _
    scale As Byte _
)
'用途
Dim name As String
Dim dbType As SqlDbType
Dim precision As Byte
Dim scale As Byte

Dim instance As New SqlMetaData(name, dbType, _
    precision, scale)
public SqlMetaData(
    string name,
    SqlDbType dbType,
    byte precision,
    byte scale
)
public:
SqlMetaData(
    String^ name, 
    SqlDbType dbType, 
    unsigned char precision, 
    unsigned char scale
)
new : 
        name:string * 
        dbType:SqlDbType * 
        precision:byte * 
        scale:byte -> SqlMetaData
public function SqlMetaData(
    name : String, 
    dbType : SqlDbType, 
    precision : byte, 
    scale : byte
)

參數

請參閱

參考

SqlMetaData 類別

SqlMetaData 多載

System.Data.SqlServerCe 命名空間