ExportBuildContributorAttribute 类

Represents the concrete classes implementing BuildContributor must add the ExportBuildContributorAttribute attribute to their class definition. This ensures they will be detected and available for use during build. BuildContributors 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.ExportBuildContributorAttribute

命名空间:  Microsoft.SqlServer.Dac.Deployment
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
<MetadataAttributeAttribute> _
Public Class ExportBuildContributorAttribute _
    Inherits ExportStandardMetadataAttribute
用法
Dim instance As ExportBuildContributorAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
[MetadataAttributeAttribute]
public class ExportBuildContributorAttribute : ExportStandardMetadataAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
[MetadataAttributeAttribute]
public ref class ExportBuildContributorAttribute : public ExportStandardMetadataAttribute
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
[<MetadataAttributeAttribute>]
type ExportBuildContributorAttribute =  
    class 
        inherit ExportStandardMetadataAttribute 
    end
public class ExportBuildContributorAttribute extends ExportStandardMetadataAttribute

构造函数

  名称 说明
公共方法 ExportBuildContributorAttribute(String, String) Initializes a new instance of the ExportBuildContributorAttribute class.
公共方法 ExportBuildContributorAttribute(Type, String) Initializes a new instance of the ExportBuildContributorAttribute class.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dac.Deployment 命名空间