Aracılığıyla paylaş


CheckCollection.Item Property (String)

Gets a Check object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public ReadOnly Default Property Item ( _
    name As String _
) As Check
    Get
'Kullanım
Dim instance As CheckCollection
Dim name As String
Dim value As Check

value = instance(name)
public Check this[
    string name
] { get; }
public:
property Check^ default[String^ name] {
    Check^ get (String^ name);
}
member Item : Check
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

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

Examples

Using Collections

See Also

Reference

CheckCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace