Partager via


SchemaDeployment.OnVerifyPlan, méthode

Appelé pendant l'exécution du déploiement au terme de la création du plan de déploiement pour permettre à des classes personnalisées d'effectuer un traitement supplémentaire pour un DatabaseSchemaProvider personnalisé.

Espace de noms :  Microsoft.Data.Schema.Build
Assembly :  Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)

Syntaxe

'Déclaration
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>

Paramètres

Valeur de retour

Type : System.Collections.Generic.ICollection<DeploymentPlanProblem>
Liste d'objets DataSchemaError qui représentent les erreurs rencontrées pendant le processus de vérification.L'implémentation par défaut retourne nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

SchemaDeployment Classe

Microsoft.Data.Schema.Build, espace de noms

DatabaseSchemaProvider

DataSchemaError