Share via


IForeignKeyConstraint.Columns Property

Gets the columns that are included in the foreign key.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Columns As IMetadataOrderedCollection(Of IForeignKeyColumn)
    Get
'Usage
Dim instance As IForeignKeyConstraint
Dim value As IMetadataOrderedCollection(Of IForeignKeyColumn)

value = instance.Columns
IMetadataOrderedCollection<IForeignKeyColumn> Columns { get; }
property IMetadataOrderedCollection<IForeignKeyColumn^>^ Columns {
    IMetadataOrderedCollection<IForeignKeyColumn^>^ get ();
}
abstract Columns : IMetadataOrderedCollection<IForeignKeyColumn>
function get Columns () : IMetadataOrderedCollection<IForeignKeyColumn>

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataOrderedCollection<IForeignKeyColumn>
The IMetadataCollection<T> of IForeignKeyColumn that contains the columns that are included in the foreign key.