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
- name
Tipo: System. . :: . .String
A String value that specifies the name of the ForeignKey object in the ForeignKeyCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKey
A ForeignKey object value that represents the foreign key.
Consulte também