Condividi tramite


Proprietà Parent

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ForeignKey
    Get
    Set
'Utilizzo
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)

Valore proprietà

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