SyncSchemaForeignKeys Class

Represents a collection of SyncSchemaForeignKey objects.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.SyncSchemaForeignKeys

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

Syntax

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

The SyncSchemaForeignKeys type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of SyncSchemaForeignKey objects in the collection.
Public property Item[Int32] Gets a SyncSchemaForeignKey object from the collection at the specified index.
Public property Item[String] Gets a SyncSchemaForeignKey object from the collection when given a foreign key constraint name.
Public property Values Gets a collection of the values that are contained in the SyncSchemaForeignKeys object.

Top

Methods

  Name Description
Public method Add(String, String, String, String, String) Adds a SyncSchemaForeignKey object to the end of the collection, with the specified constraint name, parent table and column, and child table and column.
Public method Add(String, String, String[], String, String[]) Adds a SyncSchemaForeignKey object to the end of the collection, with the specified constraint name, parent table and columns, and child table and columns.
Public method Clear Clears the collection of all SyncSchemaForeignKey objects.
Public method Contains Determines whether a SyncSchemaForeignKey object with the specified name is in the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf Searches for a SyncSchemaForeignKey object when given a constraint name, and returns the zero-based index of the first occurrence within the entire collection.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the first occurrence of a SyncSchemaForeignKey object with the specified name from the collection.
Public method ToString (Inherited from Object.)

Top

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