Compartir a través de


Item Propiedad (String)

Gets an 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 Property
    Get
'Uso
Dim instance As PropertyCollection
Dim name As String
Dim value As [Property]

value = instance(name)
public Property this[
    string name
] { get; }
public:
property Property^ default[String^ name] {
    Property^ get (String^ name);
}
member Item : Property
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Property
An object value that represents the property.

Ejemplos

Usar colecciones