SyncSchemaForeignKey.DeleteRule Property

Gets or sets the SyncSchemaForeignKeyRule object. This object determines the action that occurs when a row is deleted from the ParentTable.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property DeleteRule As SyncSchemaForeignKeyRule
    Get
    Set
'Usage
Dim instance As SyncSchemaForeignKey
Dim value As SyncSchemaForeignKeyRule

value = instance.DeleteRule

instance.DeleteRule = value
public SyncSchemaForeignKeyRule DeleteRule { get; set; }
public:
property SyncSchemaForeignKeyRule DeleteRule {
    SyncSchemaForeignKeyRule get ();
    void set (SyncSchemaForeignKeyRule value);
}
member DeleteRule : SyncSchemaForeignKeyRule with get, set
function get DeleteRule () : SyncSchemaForeignKeyRule
function set DeleteRule (value : SyncSchemaForeignKeyRule)

Property Value

Type: Microsoft.Synchronization.Data.SyncSchemaForeignKeyRule
A SyncSchemaForeignKeyRule object. This object determines the action that occurs when a row is deleted from the ParentTable.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

See Also

Reference

SyncSchemaForeignKey Class

Microsoft.Synchronization.Data Namespace