Freigeben über


Item-Eigenschaft (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

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Check
    Get
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftenwert

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