SearchPropertyCollection.Item Propiedad (String)
Gets a SearchProperty object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As SearchProperty
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the SearchProperty object in the SearchPropertyCollection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.SearchProperty
A SearchProperty corresponding to the specified name within the SearchPropertyCollection.