共用方式為


ForeignKeyCollection.Parent 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Parent As Table 
    Get
'用途
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

屬性值

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

範例

使用集合

請參閱

參考

ForeignKeyCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間