ForeignKeyCollection.Item Propiedad (String)
Gets a ForeignKey object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As ForeignKey
Get
'Uso
Dim instance As ForeignKeyCollection
Dim name As String
Dim value As ForeignKey
value = instance(name)
public ForeignKey this[
string name
] { get; }
public:
property ForeignKey^ default[String^ name] {
ForeignKey^ get (String^ name);
}
member Item : ForeignKey
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the ForeignKey object in the ForeignKeyCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that represents the foreign key.