Класс ForeignKeyConstraintDefinition

Represents the foreign key constraint.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
      Microsoft.SqlServer.TransactSql.ScriptDom.ForeignKeyConstraintDefinition

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class ForeignKeyConstraintDefinition _
    Inherits ConstraintDefinition
'Применение
Dim instance As ForeignKeyConstraintDefinition
[SerializableAttribute]
public class ForeignKeyConstraintDefinition : ConstraintDefinition
[SerializableAttribute]
public ref class ForeignKeyConstraintDefinition : public ConstraintDefinition
[<SerializableAttribute>]
type ForeignKeyConstraintDefinition =  
    class 
        inherit ConstraintDefinition 
    end
public class ForeignKeyConstraintDefinition extends ConstraintDefinition

Тип ForeignKeyConstraintDefinition обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ForeignKeyConstraintDefinition Initializes a new instance of the ForeignKeyConstraintDefinition class.

В начало

Свойства

  Имя Описание
Открытое свойство Columns Gets a list of columns for the constraint.
Открытое свойство ConstraintIdentifier Gets the name of the constraint. (Производный от ConstraintDefinition.)
Открытое свойство DeleteAction Gets or sets the action to be taken at delete.
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство NotForReplication Gets or sets whether NOT FOR REPLICATION was specified.
Открытое свойство ReferencedTableColumns Gets a list of columns for the referenced table.
Открытое свойство ReferenceTableName Gets or sets the table that contains the constraint references.
Открытое свойство 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.)
Открытое свойство UpdateAction Gets or sets the action to be taken at update.

В начало

Методы

  Имя Описание
Открытый метод Accept Accepts a visit from the specified visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).)
Открытый метод AcceptChildren Accepts a visit for the Children from the specified visitor. (Переопределяет ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom