共用方式為


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

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  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 成員

SqlMetaData 多載

System.Data.SqlServerCe 命名空間