Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMutableForeignKeyConstraint Interface

Represents a mutable SQL Server FOREIGN KEY constraint.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
public interface IMutableForeignKeyConstraint : IForeignKeyConstraint, 
	IMutableConstraint, IConstraint, IMutableMetadataObject, IMetadataObject

The IMutableForeignKeyConstraint type exposes the following members.

  NameDescription
Public propertyColumnsGets the columns that are included in the foreign key.
Public propertyDeleteActionGets or sets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is deleted.
Public propertyIsCheckedGets or sets a value that indicates whether the FOREIGN KEY constraint applies to new data only or also to existing data.
Public propertyIsEnabledGets or sets a value that indicates whether the FOREIGN KEY constraint is enabled.
Public propertyIsSystemNamedGets or sets a value that indicates whether the constraint is named by the system or by the user. (Inherited from IMutableConstraint.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyNotForReplicationGets or sets a value that indicates whether the FOREIGN KEY constraint is available for replication.
Public propertyParentGets the ITabular object that is the parent of this object. (Inherited from IConstraint.)
Public propertyReferencedTableGets or sets the ITable object that contains the primary key that is referenced by the foreign key.
Public propertyTypeGets a ConstraintType value that indicates the constraint type. (Inherited from IConstraint.)
Public propertyUpdateActionGets or sets a ForeignKeyAction value that specifies the action taken when the row that is referenced by the foreign key is updated.
Top
  NameDescription
Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.