SearchPropertyCollection.Item Property (String)
Gets a SearchProperty object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As SearchProperty
Get
'Usage
Dim instance As SearchPropertyCollection
Dim name As String
Dim value As SearchProperty
value = instance(name)
public SearchProperty this[
string name
] { get; }
public:
property SearchProperty^ default[String^ name] {
SearchProperty^ get (String^ name);
}
member Item : SearchProperty
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the SearchProperty object in the SearchPropertyCollection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.SearchProperty
A SearchProperty corresponding to the specified name within the SearchPropertyCollection.