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