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 | |
---|---|---|
ChildColumns | Gets a collection of columns from the ChildTable of the FOREIGN KEY constraint. | |
ChildTable | Gets the child table of the FOREIGN KEY constraint. | |
ConstraintName | Gets or sets the name of the FOREIGN KEY constraint. | |
DeleteRule | Gets or sets the SyncSchemaForeignKeyRule object. This object determines the action that occurs when a row is deleted from the ParentTable. | |
ParentColumns | Gets a collection of columns from the ParentTable of the FOREIGN KEY constraint. | |
ParentTable | Gets the parent table of the FOREIGN KEY constraint. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.