Share via


CheckCollection.Parent Property

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

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

Syntax

'Declaration
Public ReadOnly Property Parent As SqlSmoObject
    Get
'Usage
Dim instance As CheckCollection
Dim value As SqlSmoObject

value = instance.Parent
public SqlSmoObject Parent { get; }
public:
property SqlSmoObject^ Parent {
    SqlSmoObject^ get ();
}
member Parent : SqlSmoObject
function get Parent () : SqlSmoObject

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that is the parent of the CheckCollection object.

Remarks

The parent object is the object to which the check constraint is applied. It can be a column or a table.