Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ForeignKeyCollection.Item Property (String)


Gets a ForeignKey object in the collection by name.

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

public ForeignKey this[
	string name
] { get; }


Type: System.String

A String value that specifies the name 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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft