Dela via


ForeignKeyColumnCollection.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As ForeignKey
    Get
'Usage
Dim instance As ForeignKeyColumnCollection
Dim value As ForeignKey

value = instance.Parent
public ForeignKey Parent { get; }
public:
property ForeignKey^ Parent {
    ForeignKey^ get ();
}
member Parent : ForeignKey
function get Parent () : ForeignKey

Property Value

Type: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object that is the parent of the ForeignKeyColumnCollection object.