Represents the concrete classes implementing DeploymentPlanModifier must add the ExportDeploymentPlanModifierAttribute attribute to their class definition. This ensures they will be detected and available for use during SQL Deployment. DeploymentPlanModifiers require a unique ID which can be based on their fully qualified type name, or explicitly passed as a string.
繼承階層
ExportStandardMetadataAttribute
Microsoft.SqlServer.Dac.Deployment.ExportDeploymentPlanModifierAttribute
命名空間: Microsoft.SqlServer.Dac.Deployment
組件: Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)
語法
'宣告
<MetadataAttributeAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public Class ExportDeploymentPlanModifierAttribute _
Inherits ExportStandardMetadataAttribute
'用途
Dim instance As ExportDeploymentPlanModifierAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class ExportDeploymentPlanModifierAttribute : ExportStandardMetadataAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class ExportDeploymentPlanModifierAttribute : public ExportStandardMetadataAttribute
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type ExportDeploymentPlanModifierAttribute =
class
inherit ExportStandardMetadataAttribute
end
public class ExportDeploymentPlanModifierAttribute extends ExportStandardMetadataAttribute
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
ExportDeploymentPlanModifierAttribute(String, String) | Initializes a new instance of the ExportDeploymentPlanModifierAttribute class. |
![]() |
ExportDeploymentPlanModifierAttribute(Type, String) | Initializes a new instance of the ExportDeploymentPlanModifierAttribute class. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)