Share via


SchemaDeployment.OnConfigure Method

Called when a configuration is applied. This method allows derived classes to do additional processing for a custom DatabaseSchemaProvider when a Microsoft.Build.Evaluation.Project is used.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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>

Parameters

Return Value

Type: System.Collections.Generic.IList<DataSchemaError>
A list of DataSchemaError objects that were encountered when the configuration is applied.

.NET Framework Security

See Also

Reference

SchemaDeployment Class

Microsoft.Data.Schema.Build Namespace

DatabaseSchemaProvider

System.IO.DirectoryInfo

DataSchemaError