Partilhar via


Propriedade do RDL Item (String)

Gets a ForeignKey object in the collection by name.

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

Sintaxe

'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKey
A ForeignKey object value that represents the foreign key.