Share via


DeploymentProjectBuilder.AddProperty Method

Adds the specified property.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Protected Shared Sub AddProperty ( _
    propertyGroup As ProjectPropertyGroupElement, _
    propertyName As String, _
    propertyValue As Object _
)
protected static void AddProperty(
    ProjectPropertyGroupElement propertyGroup,
    string propertyName,
    Object propertyValue
)
protected:
static void AddProperty(
    ProjectPropertyGroupElement^ propertyGroup, 
    String^ propertyName, 
    Object^ propertyValue
)
static member AddProperty : 
        propertyGroup:ProjectPropertyGroupElement * 
        propertyName:string * 
        propertyValue:Object -> unit 
protected static function AddProperty(
    propertyGroup : ProjectPropertyGroupElement, 
    propertyName : String, 
    propertyValue : Object
)

Parameters

  • propertyName
    Type: System.String
    The name of the property being added
  • propertyValue
    Type: System.Object
    The value of the property being added

Remarks

If propertyValue is null, the property will not be added.

.NET Framework Security

See Also

Reference

DeploymentProjectBuilder Class

Microsoft.Data.Schema.Build Namespace