DatabaseTaskHost.OnResetBuildValidationStatus Method
Called during a build operation just before fully resolving the model.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Sub OnResetBuildValidationStatus ( _
dataSchemaError As DataSchemaError _
)
protected virtual void OnResetBuildValidationStatus(
DataSchemaError dataSchemaError
)
protected:
virtual void OnResetBuildValidationStatus(
DataSchemaError^ dataSchemaError
)
abstract OnResetBuildValidationStatus :
dataSchemaError:DataSchemaError -> unit
override OnResetBuildValidationStatus :
dataSchemaError:DataSchemaError -> unit
protected function OnResetBuildValidationStatus(
dataSchemaError : DataSchemaError
)
Parameters
- dataSchemaError
Type: Microsoft.Data.Schema.DataSchemaError
Used to handle any errors that occur.
Remarks
If a model element produced an error that resulted in a validation error, you might want to reset the ValidationStatus of that model element to Initial to re-evaluate the validation error.
.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.