Compartir a través de


Item Propiedad (Int32)

Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ConfigProperty
    Get
'Uso
Dim instance As ConfigPropertyCollection
Dim index As Integer
Dim value As ConfigProperty

value = instance(index)
public ConfigProperty this[
    int index
] { get; }
public:
property ConfigProperty^ default[int index] {
    ConfigProperty^ get (int index);
}
member Item : ConfigProperty
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. . :: . .ConfigProperty
A ConfigProperty object value that represents the configuration property.

Ejemplos

Usar colecciones