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
)
参数
- name
类型:System.String
- dbType
类型:System.Data.SqlDbType
- precision
类型:System.Byte
- scale
类型:System.Byte