다음을 통해 공유


Parent 속성

Gets the ForeignKey object that is the parent of the ForeignKeyColumn object.

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

구문

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

value = instance.Parent

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

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKey
A ForeignKey object that specifies the parent object of the ForeignKeyColumn object.