Initializes a new instance of the ForeignKey class.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
重载列表
| 名称 | 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.
 | 
请参阅
参考
ForeignKey Class
ForeignKey Members
Microsoft.SqlServer.Management.Smo Namespace
其他资源
Creating, Altering, and Removing Foreign Keys
创建和修改 FOREIGN KEY 约束
CREATE TABLE (Transact-SQL)