Share via


Propriété Parent

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Parent As SqlSmoObject
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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