ForeignKeyColumn コンストラクター (ForeignKey, String)

指定した名前の外部キー列に基づいて、ForeignKeyColumn クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub New ( _
    foreignKey As ForeignKey, _
    name As String _
)
'使用
Dim foreignKey As ForeignKey 
Dim name As String 

Dim instance As New ForeignKeyColumn(foreignKey, _
    name)
public ForeignKeyColumn(
    ForeignKey foreignKey,
    string name
)
public:
ForeignKeyColumn(
    ForeignKey^ foreignKey, 
    String^ name
)
new : 
        foreignKey:ForeignKey * 
        name:string -> ForeignKeyColumn
public function ForeignKeyColumn(
    foreignKey : ForeignKey, 
    name : String
)

パラメーター

使用例

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

関連項目

参照

ForeignKeyColumn クラス

ForeignKeyColumn オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

FOREIGN KEY 制約の作成と変更

CREATE TABLE (Transact-SQL)