Represents the base class for deployment contributors. Subclasses of this class participate in a deployment by modifying a deployment plan or by executing the plan.
繼承階層
System.Object
Microsoft.SqlServer.Dac.Deployment.DeploymentContributor
Microsoft.SqlServer.Dac.Deployment.DeploymentPlanContributor
命名空間: Microsoft.SqlServer.Dac.Deployment
組件: Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)
語法
'宣告
Public MustInherit Class DeploymentContributor _
Implements IDisposable
'用途
Dim instance As DeploymentContributor
public abstract class DeploymentContributor : IDisposable
public ref class DeploymentContributor abstract : IDisposable
[<AbstractClassAttribute>]
type DeploymentContributor =
class
interface IDisposable
end
public abstract class DeploymentContributor implements IDisposable
DeploymentContributor 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
DeploymentContributor | Initializes a new instance of the DeploymentContributor class. |
上層
屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
Canceled | Gets a value that indicates whether the contributor was canceled. |
![]() |
CancellationToken | Gets the CancellationToken used to indicate whether contributor execution should be canceled. |
上層
方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Cancel | Cancels execution of the contributor. |
![]() |
Dispose() | Releases all resources used by the current instance of the DeploymentContributor class. |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the DeploymentContributor and optionally releases the managed resources. |
![]() |
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. |
![]() |
OnEstablishDeploymentConfiguration | Indicates a member called by the build process in DacFx to give your code an opportunity to modify deployment configuration. |
![]() |
PublishMessage | Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers. |
![]() |
ToString | (繼承自 Object。) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)