Export (0) Print
Expand All

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)

[SfcParentAttribute("Table")]
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
[SfcParentAttribute("UserDefinedTableType")]
[SfcParentAttribute("UserDefinedFunction")]
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft