ColumnDefinition.DefaultConstraint Property
Gets or sets the default value, if not NULL.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property DefaultConstraint As DefaultConstraintDefinition
Get
Set
'Usage
Dim instance As ColumnDefinition
Dim value As DefaultConstraintDefinition
value = instance.DefaultConstraint
instance.DefaultConstraint = value
public DefaultConstraintDefinition DefaultConstraint { get; set; }
public:
property DefaultConstraintDefinition^ DefaultConstraint {
DefaultConstraintDefinition^ get ();
void set (DefaultConstraintDefinition^ value);
}
member DefaultConstraint : DefaultConstraintDefinition with get, set
function get DefaultConstraint () : DefaultConstraintDefinition
function set DefaultConstraint (value : DefaultConstraintDefinition)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.DefaultConstraintDefinition
The default value.