Share via


IDatabaseProjectBuildActionContributor Interface

Database projects in Visual Studio have several predefined build actions: "Build", "NotInBuild", and "PropertiesFile". This interface provides an extension point to enable you to add new build actions that the features of the database schema provider can interpret as they choose. If you define an object that implements IDatabaseProjectBuildActionContributor, that object will be created when the project is opened. The new build actions are then retrieved and the object will then be released.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IDatabaseProjectBuildActionContributor _
    Inherits IExtension
[CLSCompliantAttribute(false)]
public interface IDatabaseProjectBuildActionContributor : IExtension
[CLSCompliantAttribute(false)]
public interface class IDatabaseProjectBuildActionContributor : IExtension
[<CLSCompliantAttribute(false)>]
type IDatabaseProjectBuildActionContributor =  
    interface
        interface IExtension
    end
public interface IDatabaseProjectBuildActionContributor extends IExtension

The IDatabaseProjectBuildActionContributor type exposes the following members.

Methods

  Name Description
Public method GetBuildActions Returns the list of build actions to add to the project system.
Public method IsValidBuildAction Returns false if the predefined build actions ("Build", "NotInBuild" and "PropertiesFile") are not valid for this project type.

Top

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace