DeploymentContributor.OnApplyDeploymentConfiguration Método

Definición

Llamado por el proceso de implementación en DacFx para dar a su código una oportunidad para recopilar información de configuración de los archivos proporcionados. Al final del método se eliminarán todas las secuencias. Los colaboradores que necesitan obtener datos de las secuencias deben leer y almacenar en caché los datos durante este método: se producirá un error en los intentos de lectura de la secuencia durante un método posterior, como el OnExecute(DeploymentPlanContributorContext) método .

protected virtual void OnApplyDeploymentConfiguration(Microsoft.SqlServer.Dac.Deployment.DeploymentContributorContext context, System.Collections.Generic.ICollection<Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationStream> configurationStreams);
abstract member OnApplyDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorContext * System.Collections.Generic.ICollection<Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationStream> -> unit
override this.OnApplyDeploymentConfiguration : Microsoft.SqlServer.Dac.Deployment.DeploymentContributorContext * System.Collections.Generic.ICollection<Microsoft.SqlServer.Dac.Deployment.DeploymentContributorConfigurationStream> -> unit
Protected Overridable Sub OnApplyDeploymentConfiguration (context As DeploymentContributorContext, configurationStreams As ICollection(Of DeploymentContributorConfigurationStream))

Parámetros

Excepciones

Si hay un error crítico que debe impedir que el proceso de implementación continúe, la implementación de colaboradores puede producir un DeploymentFailedException.

Se aplica a