Represents a constributor that can modify a deployment plan.
继承层次结构
System.Object
Microsoft.SqlServer.Dac.Deployment.DeploymentContributor
Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributor
Microsoft.SqlServer.Dac.Deployment.DeploymentPlanModifier
命名空间: Microsoft.SqlServer.Dac.Deployment
程序集: Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)
语法
声明
Public MustInherit Class DeploymentPlanModifier _
Inherits DeploymentPlanContributor
用法
Dim instance As DeploymentPlanModifier
public abstract class DeploymentPlanModifier : DeploymentPlanContributor
public ref class DeploymentPlanModifier abstract : public DeploymentPlanContributor
[<AbstractClassAttribute>]
type DeploymentPlanModifier =
class
inherit DeploymentPlanContributor
end
public abstract class DeploymentPlanModifier extends DeploymentPlanContributor
DeploymentPlanModifier 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
DeploymentPlanModifier | Initializes a new instance of the DeploymentPlanModifier class. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Canceled | Gets a value that indicates whether the contributor was canceled. (从 DeploymentContributor 继承。) |
![]() |
CancellationToken | Gets the CancellationToken used to indicate whether contributor execution should be canceled. (从 DeploymentContributor 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
AddAfter | Provides a way to modify the existing plan by adding a step after the existing step. |
![]() |
AddBefore | Provides a way for subclasses to modify the plan by adding a step after the specified step. |
![]() |
Cancel | Cancels execution of the contributor. (从 DeploymentContributor 继承。) |
![]() |
Dispose() | Releases all resources used by the current instance of the DeploymentContributor class. (从 DeploymentContributor 继承。) |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources. (从 DeploymentContributor 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
OnApplyDeploymentConfiguration | Indicates a member called by the deployment process in DacFx to give your code an opportunity to collect configuration information from the provided files. At the end of the method all streams will be disposed. Contributors that need to obtain data from the streams must read and cache the data during this method - attempts to read from the stream during a later method such as the OnExecute(DeploymentPlanContributorContext) method will fail. (从 DeploymentContributor 继承。) |
![]() |
OnEstablishDeploymentConfiguration | Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration. (从 DeploymentContributor 继承。) |
![]() |
OnExecute | Indicates a member called by the deployment engine to allow custom contributors to execute their unique tasks. (从 DeploymentPlanContributor 继承。) |
![]() |
PublishMessage | Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers. (从 DeploymentContributor 继承。) |
![]() |
Remove | Provides a way to remove the specified step from the plan. |
![]() |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。