共用方式為


SchemaDeployment.ContributorMessage 事件

發生於 DeploymentContributor (即 DeploymentPlanContributorRefactoringDeploymentContributor) 傳回訊息時。

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

語法

'宣告
Public Event ContributorMessage As EventHandler(Of DeploymentContributorEventArgs)
public event EventHandler<DeploymentContributorEventArgs> ContributorMessage
public:
 event EventHandler<DeploymentContributorEventArgs^>^ ContributorMessage {
    void add (EventHandler<DeploymentContributorEventArgs^>^ value);
    void remove (EventHandler<DeploymentContributorEventArgs^>^ value);
}
member ContributorMessage : IEvent<EventHandler<DeploymentContributorEventArgs>,
    DeploymentContributorEventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

SchemaDeployment 類別

Microsoft.Data.Schema.Build 命名空間

DeploymentContributorEventArgs

DeploymentContributor

DeploymentPlanContributor

RefactoringDeploymentContributor