AlterTableConstraintModificationStatement Class

 

Defines modifications to a table constraint.

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

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodAlterTableConstraintModificationStatement()

Initializes a new instance of the AlterTableConstraintModificationStatement class.

NameDescription
System_CAPS_pubpropertyAll

Gets or sets a value that indicates whether the modification is for all constraints.

System_CAPS_pubpropertyConstraintEnforcement

Sets whether the constraint is enabled or disabled. When disabled, future inserts or updates to the column are not validated against the constraint conditions.

System_CAPS_pubpropertyConstraintNames

Gets the names of constraints to be modified. Will have zero elements if All is true.

System_CAPS_pubpropertyExistingRowsCheckEnforcement

Gets or sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.

System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertySchemaObjectName

Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name.(Inherited from AlterTableStatement.)

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartColumn

Gets the starting column.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartLine

Gets the starting line.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.(Inherited from TSqlFragment.)

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Accepts the visitor.(Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Accepts the visitor for Children.(Overrides AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: