Item propriété (String)
Gets a ForeignKeyColumn object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As ForeignKeyColumn
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the ForeignKeyColumn object in the ForeignKeyColumnCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumn
A ForeignKeyColumn object value that represents the foreign key column.