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
- name
Type : System.String
A String which gets the name of SearchPropertyList to retrieve.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.SearchPropertyList
A SearchPropertyList which corresponds to the name specified..