Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Defines modifications to a table constraint.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement
Espace de noms : Microsoft.SqlServer.TransactSql.ScriptDom
Assembly : Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class AlterTableConstraintModificationStatement _
Inherits AlterTableStatement
'Utilisation
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
Le type AlterTableConstraintModificationStatement expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
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. (hérité de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (hérité de TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (hérité 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. (hérité de AlterTableStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (hérité de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (hérité de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (hérité de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (hérité de TSqlFragment.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (remplace AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)