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
- manifest
Type: Microsoft.Build.Evaluation.Project
A Microsoft.Build.Evaluation.Project object.
- fileLocation
Type: System.IO.DirectoryInfo
A System.IO.DirectoryInfo object that identifies the file location.
Return Value
Type: System.Collections.Generic.IList<DataSchemaError>
A list of DataSchemaError objects that were encountered when the configuration is applied.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.