Compartir a través de


SchemaDeployment.OnVerifyPlan (Método)

Se le llama durante la ejecución de la implementación una vez creado el plan de implementación para permitir a las clases personalizadas realizar el procesamiento adicional para un objeto DatabaseSchemaProvider personalizado.

Espacio de nombres:  Microsoft.Data.Schema.Build
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Protected Overridable Function OnVerifyPlan ( _
    plan As DeploymentPlan _
) As ICollection(Of DeploymentPlanProblem)
protected virtual ICollection<DeploymentPlanProblem> OnVerifyPlan(
    DeploymentPlan plan
)
protected:
virtual ICollection<DeploymentPlanProblem^>^ OnVerifyPlan(
    DeploymentPlan^ plan
)
abstract OnVerifyPlan : 
        plan:DeploymentPlan -> ICollection<DeploymentPlanProblem> 
override OnVerifyPlan : 
        plan:DeploymentPlan -> ICollection<DeploymentPlanProblem> 
protected function OnVerifyPlan(
    plan : DeploymentPlan
) : ICollection<DeploymentPlanProblem>

Parámetros

Valor devuelto

Tipo: System.Collections.Generic.ICollection<DeploymentPlanProblem>
Una lista de objetos DataSchemaError que representan los errores detectados durante el proceso de comprobación.La implementación predeterminada devuelve nullreferencia null (Nothing en Visual Basic).

Seguridad de .NET Framework

Vea también

Referencia

SchemaDeployment Clase

Microsoft.Data.Schema.Build (Espacio de nombres)

DatabaseSchemaProvider

DataSchemaError