Classe AlterTableConstraintModificationStatement
Defines modifications to a table constraint.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class AlterTableConstraintModificationStatement _
Inherits AlterTableStatement
'Uso
Dim instance As AlterTableConstraintModificationStatement
[SerializableAttribute]
public class AlterTableConstraintModificationStatement : AlterTableStatement
[SerializableAttribute]
public ref class AlterTableConstraintModificationStatement : public AlterTableStatement
[<SerializableAttribute>]
type AlterTableConstraintModificationStatement =
class
inherit AlterTableStatement
end
public class AlterTableConstraintModificationStatement extends AlterTableStatement
O tipo AlterTableConstraintModificationStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
All | Gets or sets a value that indicates whether the modification is for all constraints. | |
ConstraintEnforcement | Sets whether the constraint is enabled or disabled. When disabled, future inserts or updates to the column are not validated against the constraint conditions. | |
ConstraintNames | Gets the names of constraints to be modified. Will have zero elements if All is true. | |
ExistingRowsCheckEnforcement | Gets or sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint. | |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
SchemaObjectName | Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. (Herdado de AlterTableStatement.) | |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) | |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) | |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) | |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts the visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts the visitor for Children. (Substitui AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.