DataSchemaModel 建構函式 (ModelCollation, ModelSchema, String, ScriptCache, ErrorManager)
初始化 DataSchemaModel 類別的新執行個體。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Protected Sub New ( _
collation As ModelCollation, _
storeSchema As ModelSchema, _
modelFileName As String, _
scriptCache As ScriptCache, _
errorManager As ErrorManager _
)
protected DataSchemaModel(
ModelCollation collation,
ModelSchema storeSchema,
string modelFileName,
ScriptCache scriptCache,
ErrorManager errorManager
)
protected:
DataSchemaModel(
ModelCollation^ collation,
ModelSchema^ storeSchema,
String^ modelFileName,
ScriptCache^ scriptCache,
ErrorManager^ errorManager
)
new :
collation:ModelCollation *
storeSchema:ModelSchema *
modelFileName:string *
scriptCache:ScriptCache *
errorManager:ErrorManager -> DataSchemaModel
protected function DataSchemaModel(
collation : ModelCollation,
storeSchema : ModelSchema,
modelFileName : String,
scriptCache : ScriptCache,
errorManager : ErrorManager
)
參數
- collation
型別:Microsoft.Data.Schema.SchemaModel.ModelCollation
資料結構描述模型的 ModelCollation。
- storeSchema
型別:Microsoft.Data.Schema.SchemaModel.ModelSchema
資料結構描述模型的 ModelSchema。
- modelFileName
型別:System.String
資料結構描述模型的檔案名稱。
- scriptCache
型別:Microsoft.Data.Schema.SchemaModel.ScriptCache
資料結構描述模型的 ScriptCache。
- errorManager
型別:Microsoft.Data.Schema.ErrorManager
ErrorManager 用於報告在資料結構描述模型中發生的錯誤。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。