Partager via


Propriété CheckCollection.Item (Int32)

Gets a Check object in the collection by index number.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Check 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

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

Exemples

Utilisation de collections

Voir aussi

Référence

CheckCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo