ExportDeploymentPlanModifierAttribute 类

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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dac.Deployment 命名空间