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