共用方式為


DefaultConstraint.Parent 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As Column 
    Get 
    Friend Set
'用途
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)

屬性值

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

範例

設定屬性

請參閱

參考

DefaultConstraint 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

強制資料完整性