Export (0) Print
Expand All

ForeignKeyCollection.Item Property (Int32)

Gets a ForeignKey object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public ForeignKey this[
	int index
] { get; }

Parameters

index
Type: Int32
An Int32 value that specifies the position of the ForeignKey object in the ForeignKeyCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that represents the foreign key.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft