Właściwość Item (String)
Pobiera ForeignKeyColumn obiektu kolekcja według nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String _
) As ForeignKeyColumn
Get
'Użycie
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
Typ: System. . :: . .String
A String wartość, która określa nazwę ForeignKeyColumn obiekt w ForeignKeyColumnCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumn
A ForeignKeyColumn wartość obiektu, który reprezentuje klucz obcy kolumny.
Zobacz także