Share via


IColumn.DefaultValue Property

Gets 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
ReadOnly Property DefaultValue As IDefaultConstraint
    Get
'Usage
Dim instance As IColumn
Dim value As IDefaultConstraint

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

Property Value

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