ForeignKeys 속성
Represents a collection of ForeignKey objects. Each ForeignKey object represents a foreign key defined on the table.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ForeignKey))> _
Public ReadOnly Property ForeignKeys As ForeignKeyCollection
Get
‘사용 방법
Dim instance As Table
Dim value As ForeignKeyCollection
value = instance.ForeignKeys
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ForeignKey))]
public ForeignKeyCollection ForeignKeys { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(ForeignKey))]
public:
property ForeignKeyCollection^ ForeignKeys {
ForeignKeyCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ForeignKey))>]
member ForeignKeys : ForeignKeyCollection
function get ForeignKeys () : ForeignKeyCollection
속성 값
형식: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyCollection
A ForeignKey object that represents all the foreign keys defined on the table.