ForeignKey Class

Represents a foreign key within a database.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Management.DatabaseManager.ForeignKey

Namespace:  Microsoft.Web.Management.DatabaseManager
Assembly:  Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)

Syntax

'Declaration
Public Class ForeignKey
'Usage
Dim instance As ForeignKey
public class ForeignKey
public ref class ForeignKey
public class ForeignKey

The ForeignKey type exposes the following members.

Constructors

  Name Description
Public method ForeignKey Creates a new instance of the ForeignKey class.

Top

Properties

  Name Description
Public property FKColumns Retrieves a list of foreign key columns.
Public property FKTableName Gets or sets the table name for a foreign key.
Public property FKTableSchema Gets or sets the schema table name for a foreign key.
Public property IsMarkedForDelete Gets or sets a value that indicates whether the foreign key is marked for deletion.
Public property IsNew Gets or sets a value that indicates whether the foreign key is new.
Public property Name Gets or sets a value that specifies the name of the foreign key.
Public property OriginalName Gets or sets a value that specifies the original name of the foreign key.
Public property PKColumns Gets a list of primary key columns.
Public property PKTableName Gets or sets the table name of the primary key.
Public property PKTableSchema Gets or sets the schema table name of the primary key.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChanges Returns a value that indicates whether the foreign key has changes pending.
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

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.Web.Management.DatabaseManager Namespace