ExportBuildContributorAttribute 类

定义

实现 BuildContributor 的具体类必须将属性添加到 ExportBuildContributorAttribute 其类定义中。 这可确保在生成期间检测到它们并可供使用。 BuildContributors 需要唯一 ID,该 ID 可以基于其完全限定的类型名称,或显式作为字符串传递

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportBuildContributorAttribute : Microsoft.SqlServer.Dac.Extensibility.ExportStandardMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportBuildContributorAttribute = class
    inherit ExportStandardMetadataAttribute
Public Class ExportBuildContributorAttribute
Inherits ExportStandardMetadataAttribute
继承
ExportBuildContributorAttribute
属性

构造函数

名称 说明
ExportBuildContributorAttribute(String, String)

初始化 ExportBuildContributorAttribute

ExportBuildContributorAttribute(Type, String)

Intializes a ExportBuildContributorAttribute

属性

名称 说明
DisplayName

实现 BuildContributor 的具体类必须将属性添加到 ExportBuildContributorAttribute 其类定义中。 这可确保在生成期间检测到它们并可供使用。 BuildContributors 需要唯一 ID,该 ID 可以基于其完全限定的类型名称,或显式作为字符串传递

(继承自 ExportStandardMetadataAttribute)
Id

实现 BuildContributor 的具体类必须将属性添加到 ExportBuildContributorAttribute 其类定义中。 这可确保在生成期间检测到它们并可供使用。 BuildContributors 需要唯一 ID,该 ID 可以基于其完全限定的类型名称,或显式作为字符串传递

(继承自 ExportStandardMetadataAttribute)
PlatformCompatibility

实现 BuildContributor 的具体类必须将属性添加到 ExportBuildContributorAttribute 其类定义中。 这可确保在生成期间检测到它们并可供使用。 BuildContributors 需要唯一 ID,该 ID 可以基于其完全限定的类型名称,或显式作为字符串传递

(继承自 ExportStandardMetadataAttribute)
Version

实现 BuildContributor 的具体类必须将属性添加到 ExportBuildContributorAttribute 其类定义中。 这可确保在生成期间检测到它们并可供使用。 BuildContributors 需要唯一 ID,该 ID 可以基于其完全限定的类型名称,或显式作为字符串传递

(继承自 ExportStandardMetadataAttribute)

适用于