ForeignKeyCollection.Add 메서드

Adds a ForeignKey object to the foreign key collection.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub Add ( _
    foreignKey As ForeignKey _
)
‘사용 방법
Dim instance As ForeignKeyCollection 
Dim foreignKey As ForeignKey

instance.Add(foreignKey)
public void Add(
    ForeignKey foreignKey
)
public:
void Add(
    ForeignKey^ foreignKey
)
member Add : 
        foreignKey:ForeignKey -> unit
public function Add(
    foreignKey : ForeignKey
)

매개 변수

컬렉션 사용

참고 항목

참조

ForeignKeyCollection 클래스

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