IDatabaseProjectBuildActionContributor.IsValidBuildAction Method
Returns false if the predefined build actions ("Build", "NotInBuild" and "PropertiesFile") are not valid for this project type.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function IsValidBuildAction ( _
projectNode As IDatabaseProjectNode, _
buildAction As String _
) As Nullable(Of Boolean)
Nullable<bool> IsValidBuildAction(
IDatabaseProjectNode projectNode,
string buildAction
)
Nullable<bool> IsValidBuildAction(
IDatabaseProjectNode^ projectNode,
String^ buildAction
)
abstract IsValidBuildAction :
projectNode:IDatabaseProjectNode *
buildAction:string -> Nullable<bool>
function IsValidBuildAction(
projectNode : IDatabaseProjectNode,
buildAction : String
) : Nullable<boolean>
Parameters
- projectNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseProjectNode
The project being queried.
- buildAction
Type: System.String
The build action string seen in the project file (that is, "CatalogProperties").
Return Value
Type: System.Nullable<Boolean>
True if it is valid, false if it is not, and null if this is not a factor for the database schema provider.
Remarks
Database schema providers can use this method to participate in some standard agnostic mechanisms and opt out of others.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectBuildActionContributor Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace