Condividi tramite


Proprietà Item (Int32)

Gets a Check object in the collection by index number.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Check
    Get
'Utilizzo
Dim instance As CheckCollection
Dim index As Integer
Dim value As Check

value = instance(index)
public Check this[
    int index
] { get; }
public:
property Check^ default[int index] {
    Check^ get (int index);
}
member Item : Check
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Check
A Check object value that represents the check constraint.