DeploymentPlanModifier 类

表示修改部署计划的参与者。

继承层次结构

System.Object
  Microsoft.Data.Schema.Build.DeploymentContributor
    Microsoft.Data.Schema.Build.DeploymentPlanContributor
      Microsoft.Data.Schema.Build.DeploymentPlanModifier
        Microsoft.Data.Schema.Refactoring.RefactoringDeploymentModifier

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public MustInherit Class DeploymentPlanModifier _
    Inherits DeploymentPlanContributor _
    Implements IExtensionInformation, IExtension
public abstract class DeploymentPlanModifier : DeploymentPlanContributor, 
    IExtensionInformation, IExtension
public ref class DeploymentPlanModifier abstract : public DeploymentPlanContributor, 
    IExtensionInformation, IExtension
[<AbstractClass>]
type DeploymentPlanModifier =  
    class
        inherit DeploymentPlanContributor
        interface IExtensionInformation
        interface IExtension
    end
public abstract class DeploymentPlanModifier extends DeploymentPlanContributor implements IExtensionInformation, IExtension

DeploymentPlanModifier 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 DeploymentPlanModifier 初始化 DeploymentPlanModifier 类的新实例。

页首

属性

  名称 说明
受保护的属性 Canceled 获取一个值,该值指示是否取消了参与者。 (继承自 DeploymentContributor。)
公共属性 ExtensionHandle 获取此扩展的句柄。

页首

方法

  名称 说明
受保护的方法 AddAfter 在计划中的现有步骤后添加新的部署步骤。
受保护的方法 AddBefore 在计划中的现有步骤前添加新的部署步骤。
公共方法 Cancel 取消执行参与者。 (继承自 DeploymentContributor。)
公共方法 Dispose() 释放资源。 (继承自 DeploymentContributor。)
受保护的方法 Dispose(Boolean) 按指定释放资源。 (继承自 DeploymentContributor。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 OnApplyDeploymentConfiguration 由 Visual Studio 中的部署过程调用,使代码可以从提供的文件中收集配置信息。 (继承自 DeploymentContributor。)
受保护的方法 OnEstablishDeploymentConfiguration 由 Visual Studio 中的部署过程调用,使代码可以修改部署配置。 (继承自 DeploymentContributor。)
受保护的方法 OnExecute 由 Visual Studio Application Lifecycle Management (ALM) 部署引擎调用,以允许自定义参与者执行其唯一任务。 (继承自 DeploymentPlanContributor。)
受保护的方法 OnPopulateArguments 由 Visual Studio Application Lifecycle Management (ALM) 部署引擎调用,以允许自定义参与者填充命令行参数。 (继承自 DeploymentPlanContributor。)
受保护的方法 PublishMessage 将消息发布到部署引擎。部署引擎将处理该消息并将其报告给使用方。 (继承自 DeploymentContributor。)
受保护的方法 Remove 从部署计划中移除现有步骤。
公共方法 SetExtensionHandle 设置此扩展的句柄。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.Build 命名空间

IExtension

其他资源

扩展 Visual Studio 的数据库功能