DeploymentContributor.OnApplyDeploymentConfiguration Método

Definição

Chamado pelo processo de implantação no DacFx para dar ao seu código uma oportunidade de coletar informações de configuração dos arquivos fornecidos. No final do método, todos os fluxos serão descartados. Os colaboradores que precisam obter dados dos fluxos devem ler e armazenar em cache os dados durante esse método – as tentativas de ler do fluxo durante um método posterior, como o OnExecute(DeploymentPlanContributorContext) método, falharão.

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

Exceções

Se houver um erro crítico que deve impedir que o processo de implantação continue, a implementação de colaboradores poderá gerar um DeploymentFailedException.

Aplica-se a