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>
)
参数
- context
类型:Microsoft.Data.Schema.Build.DeploymentContributorContext
一个 DeploymentContributorContext 对象。
- configurationFiles
类型:System.Collections.Generic.ICollection<DeploymentContributorConfigurationFile>
DeploymentContributorConfigurationFile 对象的 ICollection<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。