SqlMetaData 建構 (String, SqlDbType, Byte, Byte)
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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
)
參數
- name
型別:System. . :: . .String
- dbType
型別:System.Data. . :: . .SqlDbType
- precision
型別:System. . :: . .Byte
- scale
型別:System. . :: . .Byte