Partager via


Classe 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.

Hiérarchie d'héritage

ExportStandardMetadataAttribute
  Microsoft.SqlServer.Dac.Deployment.ExportBuildContributorAttribute

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
<MetadataAttributeAttribute> _
Public Class ExportBuildContributorAttribute _
    Inherits ExportStandardMetadataAttribute
'Utilisation
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

Constructeurs

  Nom Description
Méthode publique ExportBuildContributorAttribute(String, String) Initializes a new instance of the ExportBuildContributorAttribute class.
Méthode publique ExportBuildContributorAttribute(Type, String) Initializes a new instance of the ExportBuildContributorAttribute class.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac.Deployment