Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Represents the unique or primary key constraint. This class translates 80 syntax into 90 syntax, this should be reflected in the AST, if a differentiator is to be written.
Иерархия наследования
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.UniqueConstraintDefinition
Пространство имен: Microsoft.SqlServer.TransactSql.ScriptDom
Сборка: Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class UniqueConstraintDefinition _
Inherits ConstraintDefinition
'Применение
Dim instance As UniqueConstraintDefinition
[SerializableAttribute]
public class UniqueConstraintDefinition : ConstraintDefinition
[SerializableAttribute]
public ref class UniqueConstraintDefinition : public ConstraintDefinition
[<SerializableAttribute>]
type UniqueConstraintDefinition =
class
inherit ConstraintDefinition
end
public class UniqueConstraintDefinition extends ConstraintDefinition
Тип UniqueConstraintDefinition обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
UniqueConstraintDefinition | Initializes a new instance of the UniqueConstraintDefinition class. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
Clustered | Gets or sets a value that indicates whether the constraint is clustered. |
![]() |
Columns | Gets a list of constraint columns. |
![]() |
ConstraintIdentifier | Gets the name of the constraint. (Производный от ConstraintDefinition.) |
![]() |
FileStreamOn | Gets or sets an optional specification of the file stream. It can be either Identifier or String literal. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Производный от TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Производный от TSqlFragment.) |
![]() |
IndexOptions | Gets a list of index options. |
![]() |
IsPrimaryKey | Gets or sets whether the constraint is both unique and a primary key. |
![]() |
LastTokenIndex | Gets or sets the last token index. (Производный от TSqlFragment.) |
![]() |
OnFileGroupOrPartitionScheme | Gets or sets the file group or partition scheme. It might be nullпустая ссылка (Nothing в Visual Basic). |
![]() |
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 | Indicates the entry point for a given visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Calls Accept on the children with the given visitor. (Переопределяет ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)