Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Defines modifications to a table constraint.
Vererbungshierarchie
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 (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class AlterTableConstraintModificationStatement _
Inherits AlterTableStatement
'Usage
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
Der AlterTableConstraintModificationStatement-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
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. (Geerbt von TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Geerbt von TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Geerbt von TSqlFragment.) |
![]() |
SchemaObjectName | Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. (Geerbt von AlterTableStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Geerbt von TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Geerbt von TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Geerbt von TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Geerbt von TSqlFragment.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (Überschreibt AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)