Share via


IMutableColumn.DefaultValue Property

Gets or sets the IDefaultConstraint object that specifies the column default value.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Property DefaultValue As IDefaultConstraint
    Get
    Set
'Usage
Dim instance As IMutableColumn
Dim value As IDefaultConstraint

value = instance.DefaultValue

instance.DefaultValue = value
IDefaultConstraint DefaultValue { get; set; }
property IDefaultConstraint^ DefaultValue {
    IDefaultConstraint^ get ();
    void set (IDefaultConstraint^ value);
}
abstract DefaultValue : IDefaultConstraint with get, set
function get DefaultValue () : IDefaultConstraint
function set DefaultValue (value : IDefaultConstraint)

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDefaultConstraint
The IDefaultConstraint object that specifies the column default value.

Implements

IColumn.DefaultValue