Share via


SyncSchemaForeignKey.UpdateRule Property

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

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

Syntax

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

value = instance.UpdateRule

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

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

SyncSchemaForeignKey Class

Microsoft.Synchronization.Data Namespace