SyncSchemaForeignKey Class

Represents a foreign key relationship between two tables that are involved in synchronization.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncSchemaForeignKey

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

Syntax

'Declaration
Public Class SyncSchemaForeignKey
'Usage
Dim instance As SyncSchemaForeignKey
public class SyncSchemaForeignKey
public ref class SyncSchemaForeignKey
type SyncSchemaForeignKey =  class end
public class SyncSchemaForeignKey

The SyncSchemaForeignKey type exposes the following members.

Properties

  Name Description
Public property ChildColumns Gets a collection of columns from the ChildTable of the FOREIGN KEY constraint.
Public property ChildTable Gets the child table of the FOREIGN KEY constraint.
Public property ConstraintName Gets or sets the name of the FOREIGN KEY constraint.
Public property DeleteRule Gets or sets the SyncSchemaForeignKeyRule object. This object determines the action that occurs when a row is deleted from the ParentTable.
Public property ParentColumns Gets a collection of columns from the ParentTable of the FOREIGN KEY constraint.
Public property ParentTable Gets the parent table of the FOREIGN KEY constraint.
Public property UpdateRule Gets or sets the SyncSchemaForeignKeyRule object. This object determines the action that occurs when a row is updated in the ParentTable.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class should not exist independently. This class should be created by calling the Add method of the SyncSchemaForeignKeys class. By default, foreign keys are not copied to the client.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.Data Namespace