Partager via


Propriété SearchPropertyListCollection.Item (String)

Gets a SearchPropertyList 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 SearchPropertyList 
    Get
'Utilisation
Dim instance As SearchPropertyListCollection 
Dim name As String 
Dim value As SearchPropertyList 

value = instance(name)
public SearchPropertyList this[
    string name
] { get; }
public:
property SearchPropertyList^ default[String^ name] {
    SearchPropertyList^ get (String^ name);
}
member Item : SearchPropertyList
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.SearchPropertyList
A SearchPropertyList which corresponds to the name specified..

Voir aussi

Référence

SearchPropertyListCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo