Share via


ForeignKey Constructor

Initializes a new instance of the ForeignKey class.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
ForeignKey ()
Initializes a new instance of the ForeignKey class.
ForeignKey (Table, String)
Initializes a new instance of the ForeignKey class on the specified table with the specified name.

See Also

Reference

ForeignKey Class
ForeignKey Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Foreign Keys
Creating and Modifying FOREIGN KEY Constraints
CREATE TABLE (Transact-SQL)