共用方式為


SqlMetaData 建構函式 (String, SqlDbType, Int64, Byte, Byte, Int64, SqlCompareOptions, Type)

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

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

語法

'宣告
Public Sub New ( _
    name As String, _
    dbType As SqlDbType, _
    maxLength As Long, _
    precision As Byte, _
    scale As Byte, _
    localeId As Long, _
    compareOptions As SqlCompareOptions, _
    userDefinedType As Type _
)
'用途
Dim name As String
Dim dbType As SqlDbType
Dim maxLength As Long
Dim precision As Byte
Dim scale As Byte
Dim localeId As Long
Dim compareOptions As SqlCompareOptions
Dim userDefinedType As Type

Dim instance As New SqlMetaData(name, dbType, _
    maxLength, precision, scale, localeId, _
    compareOptions, userDefinedType)
public SqlMetaData(
    string name,
    SqlDbType dbType,
    long maxLength,
    byte precision,
    byte scale,
    long localeId,
    SqlCompareOptions compareOptions,
    Type userDefinedType
)
public:
SqlMetaData(
    String^ name, 
    SqlDbType dbType, 
    long long maxLength, 
    unsigned char precision, 
    unsigned char scale, 
    long long localeId, 
    SqlCompareOptions compareOptions, 
    Type^ userDefinedType
)
new : 
        name:string * 
        dbType:SqlDbType * 
        maxLength:int64 * 
        precision:byte * 
        scale:byte * 
        localeId:int64 * 
        compareOptions:SqlCompareOptions * 
        userDefinedType:Type -> SqlMetaData
public function SqlMetaData(
    name : String, 
    dbType : SqlDbType, 
    maxLength : long, 
    precision : byte, 
    scale : byte, 
    localeId : long, 
    compareOptions : SqlCompareOptions, 
    userDefinedType : Type
)

參數

請參閱

參考

SqlMetaData 類別

SqlMetaData 多載

System.Data.SqlServerCe 命名空間