다음을 통해 공유


Columns 속성

Represents a collection of Column objects. Each Column object represents a column included in the foreign key.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(ForeignKeyColumn))> _
Public ReadOnly Property Columns As ForeignKeyColumnCollection
    Get
‘사용 방법
Dim instance As ForeignKey
Dim value As ForeignKeyColumnCollection

value = instance.Columns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(ForeignKeyColumn))]
public ForeignKeyColumnCollection Columns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny, 
    typeof(ForeignKeyColumn))]
public:
property ForeignKeyColumnCollection^ Columns {
    ForeignKeyColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, 
    typeof(ForeignKeyColumn))>]
member Columns : ForeignKeyColumnCollection
function get Columns () : ForeignKeyColumnCollection

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumnCollection
A ForeignKeyColumnCollection object that represents all the columns included in the foreign key.