次の方法で共有


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

指定したテーブルで、指定した名前を使用して ForeignKey クラスの新しいインスタンスを初期化します。

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

構文

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

Dim instance As New ForeignKey(table, name)
public ForeignKey(
    Table table,
    string name
)
public:
ForeignKey(
    Table^ table, 
    String^ name
)
new : 
        table:Table * 
        name:string -> ForeignKey
public function ForeignKey(
    table : Table, 
    name : String
)

パラメーター