共用方式為


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