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
- name
Type: System.String
A String value that specifies the name of the Check object in the CheckCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Check
A Check object value that represents the check constraint.