共用方式為


DeploymentContributor.OnApplyDeploymentConfiguration 方法

由 Visual Studio 中的部署程序所呼叫,讓您的程式碼可以從提供的檔案收集組態資訊。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Protected Overridable Sub OnApplyDeploymentConfiguration ( _
    context As DeploymentContributorContext, _
    configurationFiles As ICollection(Of DeploymentContributorConfigurationFile) _
)
protected virtual void OnApplyDeploymentConfiguration(
    DeploymentContributorContext context,
    ICollection<DeploymentContributorConfigurationFile> configurationFiles
)
protected:
virtual void OnApplyDeploymentConfiguration(
    DeploymentContributorContext^ context, 
    ICollection<DeploymentContributorConfigurationFile^>^ configurationFiles
)
abstract OnApplyDeploymentConfiguration : 
        context:DeploymentContributorContext * 
        configurationFiles:ICollection<DeploymentContributorConfigurationFile> -> unit 
override OnApplyDeploymentConfiguration : 
        context:DeploymentContributorContext * 
        configurationFiles:ICollection<DeploymentContributorConfigurationFile> -> unit 
protected function OnApplyDeploymentConfiguration(
    context : DeploymentContributorContext, 
    configurationFiles : ICollection<DeploymentContributorConfigurationFile>
)

參數

.NET Framework 安全性

請參閱

參考

DeploymentContributor 類別

Microsoft.Data.Schema.Build 命名空間

DeploymentContributorContext

DeploymentContributorConfigurationFile