次の方法で共有


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