Compartir a través de


IndexCollection.Item Propiedad (String)

Gets an Index 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 Index 
    Get
'Uso
Dim instance As IndexCollection 
Dim name As String 
Dim value As Index 

value = instance(name)
public Index this[
    string name
] { get; }
public:
property Index^ default[String^ name] {
    Index^ get (String^ name);
}
member Item : Index
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.Index
An Index object value that represents the index.

Ejemplos

Usar colecciones

Vea también

Referencia

IndexCollection Clase

Sobrecarga de Item

Espacio de nombres Microsoft.SqlServer.Management.Smo