SearchPropertyCollection.Item-Eigenschaft (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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- name
Typ: System.String
A String value that specifies the name of the SearchProperty object in the SearchPropertyCollection.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo.SearchProperty
A SearchProperty corresponding to the specified name within the SearchPropertyCollection.