Partager via


Propriété TableCollection.Item (String)

Gets a Table object in the collection by name.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Table 
    Get
'Utilisation
Dim instance As TableCollection 
Dim name As String 
Dim value As Table 

value = instance(name)
public Table this[
    string name
] { get; }
public:
property Table^ default[String^ name] {
    Table^ get (String^ name);
}
member Item : Table
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Table
A Table object value that represents the table.

Exemples

Utilisation de collections

Voir aussi

Référence

TableCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo