ForeignKey 생성자 (Table, String)

Initializes a new instance of the ForeignKey class on the specified table with the specified name.

네임스페이스:  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
)

매개 변수

외래 키 생성, 변경 및 제거

참고 항목

참조

ForeignKey 클래스

ForeignKey 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

FOREIGN KEY 제약 조건 만들기 및 수정

CREATE TABLE(Transact-SQL)