Share via


IMutableForeignKeyConstraint.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 IMutableMetadataOrderedCollection(Of IForeignKeyColumn)
    Get
'Usage
Dim instance As IMutableForeignKeyConstraint
Dim value As IMutableMetadataOrderedCollection(Of IForeignKeyColumn)

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

Property Value

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