Delen via


ForeignKeyColumnCollection.Item Property (String)

Gets a ForeignKeyColumn object in the collection by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ForeignKeyColumn
    Get
'Usage
Dim instance As ForeignKeyColumnCollection
Dim name As String
Dim value As ForeignKeyColumn

value = instance(name)
public ForeignKeyColumn this[
    string name
] { get; }
public:
property ForeignKeyColumn^ default[String^ name] {
    ForeignKeyColumn^ get (String^ name);
}
member Item : ForeignKeyColumn
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that represents the foreign key column.