Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Defines modifications to a table constraint.
Иерархия наследования
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement
Пространство имен: Microsoft.SqlServer.TransactSql.ScriptDom
Сборка: Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class AlterTableConstraintModificationStatement _
Inherits AlterTableStatement
'Применение
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
Тип AlterTableConstraintModificationStatement обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
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. (Производный от TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Производный от TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Производный от TSqlFragment.) |
![]() |
SchemaObjectName | Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. (Производный от AlterTableStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Производный от TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Производный от TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Производный от TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Производный от TSqlFragment.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (Переопределяет AlterTableStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)