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
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As ForeignKeyColumn
Get
'Kullanım
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
- name
Type: System.String
A String value that specifies the name of the ForeignKeyColumn object in the ForeignKeyColumnCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that represents the foreign key column.