SqlMetaData 建構 (String, SqlDbType, Int64, Int64, SqlCompareOptions)
此 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, _
locale As Long, _
compareOptions As SqlCompareOptions _
)
'用途
Dim name As String
Dim dbType As SqlDbType
Dim maxLength As Long
Dim locale As Long
Dim compareOptions As SqlCompareOptions
Dim instance As New SqlMetaData(name, dbType, _
maxLength, locale, compareOptions)
public SqlMetaData(
string name,
SqlDbType dbType,
long maxLength,
long locale,
SqlCompareOptions compareOptions
)
public:
SqlMetaData(
String^ name,
SqlDbType dbType,
long long maxLength,
long long locale,
SqlCompareOptions compareOptions
)
new :
name:string *
dbType:SqlDbType *
maxLength:int64 *
locale:int64 *
compareOptions:SqlCompareOptions -> SqlMetaData
public function SqlMetaData(
name : String,
dbType : SqlDbType,
maxLength : long,
locale : long,
compareOptions : SqlCompareOptions
)
參數
- name
型別:System. . :: . .String
- dbType
型別:System.Data. . :: . .SqlDbType
- maxLength
型別:System. . :: . .Int64
- locale
型別:System. . :: . .Int64
- compareOptions
型別:System.Data.SqlTypes. . :: . .SqlCompareOptions