Interface IForeignKeyConstraint
Represents a SQL Server FOREIGN KEY constraint.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)
Sintaxe
'Declaração
Public Interface IForeignKeyConstraint _
Inherits IConstraint, IMetadataObject
'Uso
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
O tipo IForeignKeyConstraint expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
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. (Herdado de IConstraint.) | |
Name | Gets the name of the metadata object. (Herdado de 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. (Herdado de 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. (Herdado de IConstraint.) | |
UpdateAction | Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is updated. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept< (Of < <' (T> ) > > ) | Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Herdado de IMetadataObject.) |
Início