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)


<CLSCompliantAttribute(False)> _
Public Interface IDatabaseProjectBuildActionContributor _
    Inherits IExtension
public interface IDatabaseProjectBuildActionContributor : IExtension
public interface class IDatabaseProjectBuildActionContributor : IExtension
type IDatabaseProjectBuildActionContributor =  
        interface IExtension
public interface IDatabaseProjectBuildActionContributor extends IExtension

The IDatabaseProjectBuildActionContributor type exposes the following members.


  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.


See Also


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