ForeignKey 构造函数

Initializes a new instance of the ForeignKey class.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New
用法
Dim instance As New ForeignKey()
public ForeignKey()
public:
ForeignKey()
new : unit -> ForeignKey
public function ForeignKey()

注释

The default constructor initializes any fields to their default values.

示例

创建、更改和删除外键

How to: Create, Alter, and Remove a Foreign Key in Visual Basic .NET

请参阅

参考

ForeignKey 类

ForeignKey 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

创建和修改 FOREIGN KEY 约束

CREATE TABLE (Transact-SQL)