Check.Parent Property


Gets the SqlSmoObject object that is the parent of the Check object.

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

[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
public SqlSmoObject Parent { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject

A SqlSmoObject object value that specifies the parent of the Check object.

The check constraint is defined on a column or a table. The parent object specifies the column or the table on which the check constraint is defined.

Return to top