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
)
パラメーター
- foreignKey
型: Microsoft.SqlServer.Management.Smo.ForeignKey
新しいインスタンスの基になる ForeignKey オブジェクトです。
- name
型: System.String
列の名前を示す String 値です。
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間