DeploymentContributor.OnEstablishDeploymentConfiguration Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé par le processus de génération dans DacFx pour donner à votre code la possibilité de modifier la configuration du déploiement.
protected virtual void OnEstablishDeploymentConfiguration(Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup setup);
abstract member OnEstablishDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup -> unit
override this.OnEstablishDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationSetup -> unit
Protected Overridable Sub OnEstablishDeploymentConfiguration (setup As DeploymentContributorConfigurationSetup)
Paramètres
Objet actif DeploymentContributorConfigurationSetup .
Exceptions
S’il existe une erreur critique qui doit empêcher le processus de génération de continuer, l’implémentation de contributeurs peut lever un BuildFailedException.