ForeignKey.DeleteAction Property
SQL Server 2012
Gets or sets the action taken when the row that is referenced by the foreign key is deleted.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)] public ForeignKeyAction DeleteAction { get; set; }
Property Value
Type: Microsoft.SqlServer.Management.Smo.ForeignKeyActionA ForeignKeyAction value that specifies the action taken when the row that is referenced by the foreign key is deleted.
