Delen via


CheckConstraintDefinition.CheckCondition Property

Gets or sets the check condition that is a logical expression that returns TRUE or FALSE.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property CheckCondition As BooleanExpression 
    Get 
    Set
'Usage
Dim instance As CheckConstraintDefinition 
Dim value As BooleanExpression 

value = instance.CheckCondition

instance.CheckCondition = value
public BooleanExpression CheckCondition { get; set; }
public:
property BooleanExpression^ CheckCondition {
    BooleanExpression^ get ();
    void set (BooleanExpression^ value);
}
member CheckCondition : BooleanExpression with get, set
function get CheckCondition () : BooleanExpression 
function set CheckCondition (value : BooleanExpression)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.BooleanExpression
The check condition.

See Also

Reference

CheckConstraintDefinition Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace