CheckConstraintDefinition CheckConstraintDefinition CheckConstraintDefinition Class

Definition

Represents a CHECK constraint.

public ref class CheckConstraintDefinition : Microsoft::SqlServer::TransactSql::ScriptDom::ConstraintDefinition
public class CheckConstraintDefinition : Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Public Class CheckConstraintDefinition
Inherits ConstraintDefinition
Inheritance
CheckConstraintDefinitionCheckConstraintDefinitionCheckConstraintDefinition

Constructors

CheckConstraintDefinition() CheckConstraintDefinition() CheckConstraintDefinition()

Initializes a new instance of the CheckConstraintDefinition class.

Properties

CheckCondition CheckCondition CheckCondition

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

ConstraintIdentifier ConstraintIdentifier ConstraintIdentifier

Gets the name of the constraint.

(Inherited from ConstraintDefinition)
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
NotForReplication NotForReplication NotForReplication

Gets or sets a value that indicates whether NOT FOR REPLICATION is used.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to