共用方式為


SchemaDeployment.OnConfigure 方法

在套用組態時呼叫。 這個方法可以讓衍生類別在使用 Microsoft.Build.Evaluation.Project 時執行自訂 DatabaseSchemaProvider 的其他處理。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Protected Overridable Function OnConfigure ( _
    manifest As Project, _
    fileLocation As DirectoryInfo _
) As IList(Of DataSchemaError)
protected virtual IList<DataSchemaError> OnConfigure(
    Project manifest,
    DirectoryInfo fileLocation
)
protected:
virtual IList<DataSchemaError^>^ OnConfigure(
    Project^ manifest, 
    DirectoryInfo^ fileLocation
)
abstract OnConfigure : 
        manifest:Project * 
        fileLocation:DirectoryInfo -> IList<DataSchemaError> 
override OnConfigure : 
        manifest:Project * 
        fileLocation:DirectoryInfo -> IList<DataSchemaError> 
protected function OnConfigure(
    manifest : Project, 
    fileLocation : DirectoryInfo
) : IList<DataSchemaError>

參數

傳回值

型別:System.Collections.Generic.IList<DataSchemaError>
套用組態時發現的 DataSchemaError 物件清單。

.NET Framework 安全性

請參閱

參考

SchemaDeployment 類別

Microsoft.Data.Schema.Build 命名空間

DatabaseSchemaProvider

System.IO.DirectoryInfo

DataSchemaError