Share via


SyncSchemaForeignKeyRule Enumeration

Indicates the action that occurs when a FOREIGN KEY constraint, which is defined through a SyncSchemaForeignKeyRule object, is enforced during a delete or update operation.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Enumeration SyncSchemaForeignKeyRule
'Usage
Dim instance As SyncSchemaForeignKeyRule
public enum SyncSchemaForeignKeyRule
public enum class SyncSchemaForeignKeyRule
public enum SyncSchemaForeignKeyRule
public enum SyncSchemaForeignKeyRule

Members

  Member name Description
Cascade Delete or update related rows. This is the default. 
None No action is taken on related rows. 
SetDefault Set values in related rows to the value that is contained in the DefaultValue property for each column. 
SetNull Set values in related rows to DBNull

See Also

Reference

Microsoft.Synchronization.Data Namespace