Интерфейс IForeignKeyConstraint

Represents a SQL Server FOREIGN KEY constraint.

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

Синтаксис

'Декларация
Public Interface IForeignKeyConstraint _
    Inherits IConstraint, IMetadataObject
'Применение
Dim instance As IForeignKeyConstraint
public interface IForeignKeyConstraint : IConstraint, 
    IMetadataObject
public interface class IForeignKeyConstraint : IConstraint, 
    IMetadataObject
type IForeignKeyConstraint =  
    interface
        interface IConstraint
        interface IMetadataObject
    end
public interface IForeignKeyConstraint extends IConstraint, IMetadataObject

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

Свойства

  Имя Описание
Открытое свойство Columns Gets the columns that are included in the foreign key.
Открытое свойство DeleteAction Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is deleted.
Открытое свойство IsChecked Gets a value that indicates whether the FOREIGN KEY constraint applies to new data only or also to existing data.
Открытое свойство IsEnabled Gets a value that indicates whether the FOREIGN KEY constraint is enabled.
Открытое свойство IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (Производный от IConstraint.)
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство NotForReplication Gets a value that indicates whether the FOREIGN KEY constraint is available for replication.
Открытое свойство Parent Gets the ITabular object that is the parent of this object. (Производный от IConstraint.)
Открытое свойство ReferencedTable Gets the ITable object that contains the primary key that is referenced by the foreign key.
Открытое свойство Type Gets a ConstraintType value that indicates the constraint type. (Производный от IConstraint.)
Открытое свойство UpdateAction Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is updated.

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)

В начало