다음을 통해 공유


Parent 속성

Gets or sets the Table object that is the parent of the ForeignKey object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As Table
    Get
    Set
‘사용 방법
Dim instance As ForeignKey
Dim value As Table

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
public Table Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::Design)]
public:
property Table^ Parent {
    Table^ get ();
    void set (Table^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)>]
member Parent : Table with get, set
function get Parent () : Table
function set Parent (value : Table)

속성 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .Table
A Table object that is the parent of the ForeignKey object.