Export (0) Print
Expand All

IDatabaseProjectBuildActionContributor Interface

Visual Studio 2010

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 : IExtension

The IDatabaseProjectBuildActionContributor type exposes the following members.

  NameDescription
Public methodGetBuildActionsReturns the list of build actions to add to the project system.
Public methodIsValidBuildActionReturns false if the predefined build actions ("Build", "NotInBuild" and "PropertiesFile") are not valid for this project type.
Top

Community Additions

ADD
Show:
© 2015 Microsoft