SearchPropertyListCollection.Item Property (String)
Gets a SearchPropertyList object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As SearchPropertyList
Get
'Kullanım
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String which gets the name of SearchPropertyList to retrieve.
Property Value
Type: Microsoft.SqlServer.Management.Smo.SearchPropertyList
A SearchPropertyList which corresponds to the name specified..