DefaultConstraint.Parent Property

Gets the Column object that is the parent of the DefaultConstraint object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As Column 
    Get 
    Friend Set
'Usage
Dim instance As DefaultConstraint 
Dim value As Column 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
public Column Parent { get; internal set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::Design)]
public:
property Column^ Parent {
    Column^ get ();
    internal: void set (Column^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)>]
member Parent : Column with get, internal set
function get Parent () : Column 
internal function set Parent (value : Column)

Property Value

Type: Microsoft.SqlServer.Management.Smo.Column
A Column object value that is the parent of the DefaultConstraint object.

Examples

Setting Properties

See Also

Reference

DefaultConstraint Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Enforcing Data Integrity