次の方法で共有


ForeignKey コンストラクター

ForeignKey クラスの新しいインスタンスを初期化します。

名前空間:  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()

説明

既定のコンストラクタは、すべてのフィールドを既定値に初期化します。

使用例

外部キーの作成、変更、および削除

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