Delen via


ForeignKeyCollection.Parent Property

Gets the Table object that is the parent of the ForeignKeyCollection object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As Table 
    Get
'Usage
Dim instance As ForeignKeyCollection 
Dim value As Table 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Table
A Table object that is the parent of the ForeignKeyCollection object.

Examples

Using Collections

See Also

Reference

ForeignKeyCollection Class

Microsoft.SqlServer.Management.Smo Namespace