Proprietà ColumnCollection.Item (String)
Gets a Column object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As Column
Get
'Utilizzo
Dim instance As ColumnCollection
Dim name As String
Dim value As Column
value = instance(name)
public Column this[
string name
] { get; }
public:
property Column^ default[String^ name] {
Column^ get (String^ name);
}
member Item : Column
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the Column object in the ColumnCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Column
A Column object value that represents the column.