Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Defines modifications to a table constraint.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<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
El tipo AlterTableConstraintModificationStatement expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
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. (Se hereda de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Se hereda de TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Se hereda 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. (Se hereda de AlterTableStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Se hereda de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Se hereda de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Se hereda de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Se hereda de TSqlFragment.) |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (Invalida AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom
.gif)
.gif)
.gif)